From aac549aebb422952870849606cf8bd2ec6dfabb3 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Mon, 17 Sep 2018 21:18:35 -0400 Subject: [PATCH] update ls alias --- .bash_aliases | 6 ++++++ 1 file changed, 6 insertions(+) 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