gnu coreutils aliases

This commit is contained in:
Loic Nageleisen 2012-02-23 12:22:44 +01:00
parent 907dc812d7
commit 2e333916ac

View file

@ -3,6 +3,10 @@
case "$(uname)" in
"Darwin")
alias top="top -o cpu -s 5"
if which gls >/dev/null; then
#brew list coreutils | grep '/usr/local/Cellar/coreutils/[^/]*/bin/g' | sed 's/.*\///'
alias ls="gls --color=auto"
fi
;;
"Linux")
alias ls="ls --color"