Linux.zsh 369 B

123456789101112131415161718
  1. # Linux Stuff
  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