Skip to content

Commit

Permalink
[sorin-ionescu#23] Add if to conditions to not wrongly return 1
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu committed Apr 8, 2012
1 parent ec27d07 commit 49aa670
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/alias/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ if zstyle -t ':omz:alias:diff' color; then
fi

# Miscellaneous
(( $+commands[ack] )) && alias afind='nocorrect ack'
(( $+commands[ebuild] )) && alias ebuild='nocorrect ebuild'
(( $+commands[gist] )) && alias gist='nocorrect gist'
(( $+commands[heroku] )) && alias heroku='nocorrect heroku'
(( $+commands[mysql] )) && alias mysql='nocorrect mysql'
if (( $+commands[ack] )) alias afind='nocorrect ack'
if (( $+commands[ebuild] )) alias ebuild='nocorrect ebuild'
if (( $+commands[gist] )) alias gist='nocorrect gist'
if (( $+commands[heroku] )) alias heroku='nocorrect heroku'
if (( $+commands[mysql] )) alias mysql='nocorrect mysql'

0 comments on commit 49aa670

Please sign in to comment.