Browse Source

blueyed's ZSH-fu is much stronger than mine.

Theodore Robert Campbell Jr 14 years ago
parent
commit
2717e147b3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/hub/hub.plugin.zsh

+ 2 - 2
plugins/hub/hub.plugin.zsh

@@ -1,5 +1,5 @@
 # hub alias from defunkt
 # hub alias from defunkt
 # https://github.com/defunkt/hub
 # 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
 fi