mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-19 12:53:52 +00:00
add support for GNU ls on macs, it is superior
This commit is contained in:
parent
72d434f216
commit
5716ad512d
1 changed files with 7 additions and 3 deletions
|
@ -28,9 +28,13 @@ case `uname -s` in
|
|||
alias grep='grep -d skip --color=auto'
|
||||
;;
|
||||
FreeBSD|Darwin|DragonFly)
|
||||
LSCOLORS=ExGxFxDxCxDxDxHbaDacec
|
||||
export LSCOLORS
|
||||
alias ls="ls -Gh"
|
||||
if ( command -v gls >/dev/null 2>&1 ) ; then
|
||||
alias ls="gls -h --color=auto"
|
||||
else
|
||||
LSCOLORS=ExGxFxDxCxDxDxHbaDacec
|
||||
export LSCOLORS
|
||||
alias ls="ls -Gh"
|
||||
fi
|
||||
alias grep='grep -d skip --color=auto'
|
||||
;;
|
||||
Interix)
|
||||
|
|
Loading…
Add table
Reference in a new issue