zshrc.d/15-colors.zrc
changeset 13 e1da4a7a9e92
equal deleted inserted replaced
12:a906009be2b1 13:e1da4a7a9e92
       
     1 
       
     2 # You can customize ls colors by generating the file /etc/LS_COLORS
       
     3 # (using "dircolors --print-database > /etc/LS_COLORS") and
       
     4 # updating it.
       
     5 # Check 'man dircolors' for more information.
       
     6 # Thanks to Antoine Vouillon and Farzad Farid.
       
     7 
       
     8 if [[ -x /usr/bin/dircolors ]]; then
       
     9   if [[ -e /etc/LS_COLORS ]]; then
       
    10     eval $(dircolors -b /etc/LS_COLORS)
       
    11   else
       
    12     eval $(dircolors -b)
       
    13   fi
       
    14   LS_OPTIONS=(--color=auto)
       
    15   export LS_OPTIONS
       
    16 fi