Re-fix grc ls options.

This commit is contained in:
David Tomaschik
2019-11-14 22:23:00 -08:00
parent 288a9c3a7e
commit 12a92703f0

View File

@@ -106,8 +106,8 @@ if [[ $- == *i* ]] ; then
source /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh source /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh
fi fi
# Enable grc if we have it # Enable grc if we have it
if ls --version 2>&1 >/dev/null ; then if command ls --version 2>&1 >/dev/null ; then
alias ls='ls --color' alias ls="$(whence -p ls) --color -C"
fi fi
[[ -s "/etc/grc.zsh" ]] && source /etc/grc.zsh [[ -s "/etc/grc.zsh" ]] && source /etc/grc.zsh
# Syntax highlighting and substring search # Syntax highlighting and substring search