Browse code

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

Theodore Robert Campbell Jr authored on 03/03/2011 at 01:00:40
Showing 1 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 # hub alias from defunkt
2 2
 # https://github.com/defunkt/hub
3
-if [ $( which hub > /dev/null 2>&1 ; echo -n $? ) -lt 1 ]; then
4
-    eval $( hub alias -s zsh )
3
+if which hub > /dev/null; then
4
+    eval $(hub alias -s zsh)
5 5
 fi