362b061f5ca657034445f3805fa962efc99f0a3e

Author
Joshua Kovach <kovach.jc@gmail.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Fix branch not updating on checkout in steeef (#6784)

* Fix branch not updating on checkout in steeef

* Check for `hub` in steeef when switching branches

Diff

 1diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme
 2index 88ef1ca1b71bb5a05575e4c04208ac7d3d6b80cf..622c9046529cf2f65ca71f29137678ea76a8b7c8 100644
 3--- a/themes/steeef.zsh-theme
 4+++ b/themes/steeef.zsh-theme
 5@@ -66,6 +66,9 @@ function steeef_preexec {
 6         *git*)
 7             PR_GIT_UPDATE=1
 8             ;;
 9+        *hub*)
10+            PR_GIT_UPDATE=1
11+            ;;
12         *svn*)
13             PR_GIT_UPDATE=1
14             ;;