add support for gnu userland on other platforms

This commit is contained in:
David Alexander Majnemer 2009-01-23 14:29:34 -06:00
parent 9aaf20b04a
commit 1c9abb2d16

View file

@ -30,6 +30,8 @@ case `uname -s` in
FreeBSD|Darwin|DragonFly)
if ( command -v gls >/dev/null 2>&1 ) ; then
alias ls="gls -h --color=auto"
elif ( ls --version 2>/dev/null | grep GNU >/dev/null 2>&1 ) ; then
alias ls="ls -h --color=auto"
else
LSCOLORS=ExGxFxDxCxDxDxHbaDacec
export LSCOLORS