diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme old mode 100644 new mode 100755 index a54cdce14..8c359f40c --- a/themes/steeef.zsh-theme +++ b/themes/steeef.zsh-theme @@ -56,7 +56,7 @@ function steeef_chpwd { add-zsh-hook chpwd steeef_chpwd function steeef_precmd { - if [[ -n "$PR_GIT_UPDATE" ]] ; then + if [[ -n "$PR_GIT_UPDATE" || -z $(git ls-files --other --exclude-standard 2> /dev/null) ]] ; then vcs_info 'prompt' PR_GIT_UPDATE= fi