unset LS_COLORS if exa exists
This commit is contained in:
parent
5012121a09
commit
244d92c509
|
@ -40,6 +40,7 @@ alias cd....="cd ../../.."
|
|||
command -v exa > /dev/null 2>&1
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
LS_COLORS=""
|
||||
alias ls="exa -h --group-directories-first"
|
||||
else
|
||||
alias ls="ls -h --color --group-directories-first"
|
||||
|
|
Loading…
Reference in New Issue