2017-01-15 11:57:15 +05:00
|
|
|
# Some good aliases for macOS.
|
|
|
|
|
2017-01-16 12:38:13 +05:00
|
|
|
if [ "${OS/Darwin}" != "${OS}" ]; then
|
2017-01-15 11:57:15 +05:00
|
|
|
# Files navigation.
|
2017-01-16 12:38:13 +05:00
|
|
|
# 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
|