mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
add support for gnu userland on other platforms
This commit is contained in:
parent
9aaf20b04a
commit
1c9abb2d16
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue