Linux.zsh 370 B

1234567891011121314151617
  1. # debian config
  2. [ -r /etc/debian_version ] && source $DOTZSHDIR/os.d/Debian.zsh
  3. if [ "$TERM" != "dumb" ]; then
  4. if [ -r "$DOTZSHDIR/config/dircolors" ]; then
  5. eval $(dircolors -b $DOTZSHDIR/config/dircolors)
  6. else
  7. eval $(dircolors -b)
  8. fi
  9. alias ls="ls -h --color=auto"
  10. alias l="ls -lh --color=auto"
  11. else
  12. alias ls="ls -h"
  13. alias l="ls -lh"
  14. fi