support Darwin, as well

master
Andrew Coleman 2019-10-23 15:17:32 -05:00
parent 9668153d74
commit d09baec621
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@ 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" || "$UNAME_S" == "Darwin" ]] ; then
alias ls="ls -G"
fi