diff --git a/.bash_aliases b/.bash_aliases index b830ee4..6a0bc2e 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -1,2 +1,8 @@ alias dotfiles='git --git-dir=$HOME/dotfiles.git/ --work-tree=$HOME' alias nokeyssh="ssh -o PubkeyAuthentication=no" +if [ `uname -s` == 'Linux' ] ; then + alias ls="ls --color=auto" +fi +if [ `uname -s` == 'BSD' ] ; then + alias ls="ls -G" +fi