zsh-config/zsh/aliases/30-macos.conf

11 lines
281 B
Plaintext
Raw Normal View History

2017-01-15 11:57:15 +05:00
# Some good aliases for macOS.
if [ "${OS/Darwin}" != "${OS}" ]; then
2017-01-15 11:57:15 +05:00
# Files navigation.
# ls - use GNU coreutils version if available.
if [ -f "/usr/local/bin/gls" ]; then
alias ls="/usr/local/bin/gls --color"
else
alias ls="/bin/ls -G"
fi
2017-01-15 11:57:15 +05:00
fi