support Darwin, as well
parent
9668153d74
commit
d09baec621
|
@ -4,6 +4,6 @@ UNAME_S=`uname -s`
|
||||||
if [[ "$UNAME_S" == "Linux" || "$UNAME_S" == "CYGWIN_NT-10.0" ]] ; then
|
if [[ "$UNAME_S" == "Linux" || "$UNAME_S" == "CYGWIN_NT-10.0" ]] ; then
|
||||||
alias ls="ls --color=auto"
|
alias ls="ls --color=auto"
|
||||||
fi
|
fi
|
||||||
if [ "$UNAME_S" == "BSD" ] ; then
|
if [[ "$UNAME_S" == "BSD" || "$UNAME_S" == "Darwin" ]] ; then
|
||||||
alias ls="ls -G"
|
alias ls="ls -G"
|
||||||
fi
|
fi
|
||||||
|
|
Reference in New Issue