Colors
pls
makes a lot of use of colors throughout the output. This makes it very
easy to grok the output and also makes it look pretty.
Environment
By default pls
will display colors if the terminal supports it and will
disable colors if the output is being piped to another command.
pls
also respects the NOCOLOR
and CLICOLOR_FORCE
environment variables
that can be used forcefully disable or enable colors respectively.
Examples
Link# T Permissions User Group Size Modified Name 2 d rwx r-x r-x runner docker 2024-Apr-22 05:23am dir/ 1 l rwx rwx rwx runner docker 10.0 B 2024-Apr-22 05:23am block_dev@ /dev/disk0 1 l rwx rwx rwx runner docker 9.0 B 2024-Apr-22 05:23am char_dev@ /dev/null 1 p rw- r-- r-- runner docker 0.0 B 2024-Apr-22 05:23am fifo| 1 f rw- r-- r-- runner docker 1.0 MiB 2024-Apr-22 05:23am file 1 s rwx r-x r-x runner docker 0.0 B 2024-Apr-22 05:23am socket= 1 l rwx rwx rwx runner docker 5.0 B 2024-Apr-22 05:23am sym@ ./dir
Link# T Permissions User Group Size Modified Name 2 d rwx r-x r-x runner docker 2024-Apr-22 05:23am dir/ 1 l rwx rwx rwx runner docker 10.0 B 2024-Apr-22 05:23am block_dev@
/dev/disk01 l rwx rwx rwx runner docker 9.0 B 2024-Apr-22 05:23am char_dev@ /dev/null 1 p rw- r-- r-- runner docker 0.0 B 2024-Apr-22 05:23am fifo| 1 f rw- r-- r-- runner docker 1.0 MiB 2024-Apr-22 05:23am file 1 s rwx r-x r-x runner docker 0.0 B 2024-Apr-22 05:23am socket= 1 l rwx rwx rwx runner docker 5.0 B 2024-Apr-22 05:23am sym@ ./dir