ls.sh 276 B

12345678910111213
  1. # Coloured output for ls
  2. if [[ -n $(command -v dircolors) ]]; then
  3. eval "`dircolors -b`"
  4. alias ls='ls --color=auto'
  5. elif [[ $(uname -s) = Darwin ]]; then
  6. alias ls='ls -G'
  7. fi
  8. # Folder listing/traversal
  9. alias l='ls'
  10. alias la='ls -A'
  11. alias ll='ls -lh'
  12. alias lal='ls -Alh'