Fixing conditional brackets that should be arithmetic.
This commit is contained in:
parent
2d65cf403b
commit
3a92d0893b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue