3 ms·
I've been accustomed to using trapd00r's LS_COLORS[1]. It differentiates the colors by file types enough to make it useful, without being overly distracting. An
by distantsounds 9y ago
I've been accustomed to using trapd00r's LS_COLORS[1]. It differentiates the colors by file types enough to make it useful, without being overly distracting. And doesn't require installing ruby. :)
[1] https://github.com/trapd00r/LS_COLORS https://github.com/trapd00r/LS_COLORS
- lionyo 9y agoThanks! This is great, works with oh-my-zsh
- eddieh 9y agoOn 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.