Searched hist:61178 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/bin/ls/
H A Dprint.cdiff 61178 Fri Jun 02 12:53:42 MDT 2000 joe Add colour support to /bin/ls (at a cost of 1056 bytes on my system).

It is not switched on by default and must be enabled with the -G
flag. When using ls -G the output behaviour is modified with ANSI
colour sequences wrapped around filenames to help distinguish file
types. (Colours can be redefined in the LSCOLORS environment
variable as described in the manual page.)

Colour support is silently disabled (if switched on) if stdout
isn't a tty.

Based on: asami's colorls port.
PR: bin/18900 && ports/18616.

Completed in 91 milliseconds