1
0
Fork 0

Fixing ls colours in Linux

pull/31/head
Paul Gideon Dann 13 years ago
parent 02e39eaf4f
commit 2d65cf403b

@ -15,7 +15,12 @@ if zstyle -t ':omz:alias:ls' color; then
else else
export CLICOLOR=1 export CLICOLOR=1
export LSCOLORS="exfxcxdxbxegedabagacad" export LSCOLORS="exfxcxdxbxegedabagacad"
alias ls='ls -G -F' ls --color -d . &>/dev/null 2>&1
if [[ $? == 0 ]]; then
alias ls='ls --color=auto -F'
else
alias ls='ls -GF'
fi
fi fi
fi fi

Loading…
Cancel
Save