Skip to content

Commit

Permalink
Trigger update on hub commands as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Collins committed Jun 5, 2013
1 parent 350be32 commit 32df8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zshrc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ add-zsh-hook precmd precmd_update_git_vars
## Function definitions
function preexec_update_git_vars() {
case "$2" in
git*)
git*|hub*)
__EXECUTED_GIT_COMMAND=1
;;
esac
Expand Down

0 comments on commit 32df8ab

Please sign in to comment.