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