[arch-general] Colorized Output Listing
F. Gr.
fgr at anche.no
Fri Aug 20 09:28:57 EDT 2010
2010-08-19 20:43 -0400, Carlos Mennens wrote:
| It's very frustrating in Arch that my directories[blue], text
| files[white], tarballs[red], symbolic links[blue], and
| scripts[green] are all the same color. How can I colorize this in
| bash so my Arch Linux system is much easier to sort through?
from my ~/.zshrc:
eval $(dircolors -b)
# colored filename/directory completion
# Attribute codes:
# 00 none 01 bold 04 underscore 05 blink 07 reverse 08 concealed
# Text color codes:
# 30 black 31 red 32 green 33 yellow 34 blue 35 magenta 36
cyan 37 white # Background color codes:
# 40 black 41 red 42 green 43 yellow 44 blue 45 magenta 46
cyan 47 white export
LS_COLORS='no=0:fi=0:di=1;34:ln=1;36:pi=40;33:so=1;35:do=1;35:bd=40;33;1:cd=40;33;1:or=40;31;1:ex=1;32:*.tar=1;31:*.tgz=1;31:*.arj=1;31:*.taz=1;31:*.lzh=1;31:*.zip=1;31:*.rar=1;31:*.z=1;31:*.Z=1;31:*.gz=1;31:*.bz2=1;31:*.tbz2=1;31:*.deb=1;31:*.pdf=1;31:*.jpg=1;35:*.jpeg=1;35:*.gif=1;35:*.bmp=1;35:*.pbm=1;35:*.pgm=1;35:*.ppm=1;35:*.pnm=1;35:*.tga=1;35:*.xbm=1;35:*.xpm=1;35:*.tif=1;35:*.tiff=1;35:*.png=1;35:*.mpg=1;35:*.mpeg=1;35:*.mov=1;35:*.avi=1;35:*.wmv=1;35:*.ogg=1;35:*.mp3=1;35:*.mpc=1;35:*.wav=1;35:*.au=1;35:*.swp=1;30:*.pl=36:*.c=36:*.cc=36:*.h=36:*.core=1;33;41:*.gpg=1;33:'
#export ZLS_COLORS="$LS_COLORS"
More information about the arch-general
mailing list