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

11 lines
281 B
Plaintext

# Some good aliases for macOS.
if [ "${OS/Darwin}" != "${OS}" ]; then
# 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
fi