Fix ls output redirection

This commit is contained in:
David Tomaschik
2020-10-03 15:22:05 -07:00
parent 465bfd37f1
commit 7e249843a6

View File

@@ -107,7 +107,7 @@ if [[ $- == *i* ]] ; then
if test -f /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh ; then if test -f /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh ; then
source /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh source /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh
fi fi
if command ls --version 2>&1 >/dev/null ; then if command ls --version >/dev/null 2>&1 ; then
alias ls="$(whence -p ls) --color -C" alias ls="$(whence -p ls) --color -C"
fi fi
# Syntax highlighting and substring search # Syntax highlighting and substring search