Suffixes
pls
shows suffixes for many common file types. This is usually helpful to
identify file types by just looking at the name. The suffixes are generally
dimmed so as to not appear like they're actually a part of the file name.
Arguments
--suffix
/-S
can be used to turn suffixes on or off. Suffixes are shown by
default because of their utility.
Examples
dir/ block_dev@
/dev/disk0 char_dev@ /dev/null fifo| file socket= sym@ ./dir
dir block_dev
/dev/disk0 char_dev /dev/null fifo file socket sym ./dir
Configuration
Using the configuration system, you can add suffixes for more file types, in
addition to the default set included with pls
, and change the existing
suffixes to your liking.
Examples
dir> block_dev↗
/dev/disk0 char_dev↗ /dev/null fifo- file! .pls.yml! socket↔ sym↗ ./dir