diff options
author | Theodore Robert Campbell Jr <trcjr@stupidfoot.com> | 2011-03-02 20:00:40 -0500 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2011-04-12 10:24:53 +0200 |
commit | 2717e147b303beef0f84e6dfbb2db562c8fc6740 (patch) | |
tree | f59ee039607c2f9155f4ef2fd787426a38c72556 | |
parent | 8ed33a8ccc5e926e84bf522951ecf80e97e2a8e6 (diff) | |
download | zsh-2717e147b303beef0f84e6dfbb2db562c8fc6740.tar.gz zsh-2717e147b303beef0f84e6dfbb2db562c8fc6740.tar.bz2 zsh-2717e147b303beef0f84e6dfbb2db562c8fc6740.zip |
blueyed's ZSH-fu is much stronger than mine.
-rw-r--r-- | plugins/hub/hub.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/hub/hub.plugin.zsh b/plugins/hub/hub.plugin.zsh index 9f95c6361..48e1fa4ad 100644 --- a/plugins/hub/hub.plugin.zsh +++ b/plugins/hub/hub.plugin.zsh @@ -1,5 +1,5 @@ # hub alias from defunkt # https://github.com/defunkt/hub -if [ $( which hub > /dev/null 2>&1 ; echo -n $? ) -lt 1 ]; then - eval $( hub alias -s zsh ) +if which hub > /dev/null; then + eval $(hub alias -s zsh) fi |