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 LSCOLORS="exfxcxdxbxegedabagacad"
ls --color -d . &>/dev/null 2>&1
if [[ $? == 0 ]]; then
if (( $? == 0 )); then
alias ls='ls --color=auto -F'
else
alias ls='ls -GF'

Loading…
Cancel
Save