News for hackers. Stuff that matters.
Re:Colorls – A Ruby script that beautifies the terminal's ls... by eddieh on Friday July 07, 2017 @12:01PM (#14719449)
On macOS I have this in my .profile:

   alias ls="ls -GF"
   export LSCOLORS="Exfxcxdxbxegedabagacad"
-G Enables colorized output

-F Display a slash (`/') immediately after each pathname that is a directory, an asterisk (`*') after each that is executable, an at sign (`@') after each symbolic link, an equals sign (`=') after each socket, a percent sign (`%') after each whiteout, and a vertical bar (`|') after each that is a FIFO.

The filename/dirname is colored and the character denoting the type is not colored, so I can tell what is part of a name and what denotes the file type.

There are no comments on this comment yet.