diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme index b72a41c9..88ef1ca1 100644 --- a/themes/steeef.zsh-theme +++ b/themes/steeef.zsh-theme @@ -62,7 +62,7 @@ zstyle ':vcs_info:*:prompt:*' nvcsformats "" function steeef_preexec { - case "$(history $HISTCMD)" in + case "$2" in *git*) PR_GIT_UPDATE=1 ;;