mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 18:38:00 +00:00
[#23] Add if to conditions to not wrongly return 1
This commit is contained in:
parent
66c14486c6
commit
8d98e62b34
@ -135,9 +135,9 @@ if zstyle -t ':omz:alias:diff' color; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Miscellaneous
|
# Miscellaneous
|
||||||
(( $+commands[ack] )) && alias afind='nocorrect ack'
|
if (( $+commands[ack] )) alias afind='nocorrect ack'
|
||||||
(( $+commands[ebuild] )) && alias ebuild='nocorrect ebuild'
|
if (( $+commands[ebuild] )) alias ebuild='nocorrect ebuild'
|
||||||
(( $+commands[gist] )) && alias gist='nocorrect gist'
|
if (( $+commands[gist] )) alias gist='nocorrect gist'
|
||||||
(( $+commands[heroku] )) && alias heroku='nocorrect heroku'
|
if (( $+commands[heroku] )) alias heroku='nocorrect heroku'
|
||||||
(( $+commands[mysql] )) && alias mysql='nocorrect mysql'
|
if (( $+commands[mysql] )) alias mysql='nocorrect mysql'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user