1
0
Fork 0

Fixing conditional brackets that should be arithmetic.

pull/31/head
Paul Gideon Dann 13 years ago
parent 2d65cf403b
commit 3a92d0893b

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

Loading…
Cancel
Save