Merge branch 'pztrn_changes' into 'master'
Fix for macOS's ls vs gls thing. It will use GNU coreutils version if available. See merge request !7
This commit is contained in:
commit
1bfdd4a562
@ -1,6 +1,11 @@
|
||||
# Some good aliases for macOS.
|
||||
|
||||
if [ "${OS/DarwinD}" != "${OS}" ]; then
|
||||
if [ "${OS/Darwin}" != "${OS}" ]; then
|
||||
# Files navigation.
|
||||
alias ls="ls -G"
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user