summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/steeef.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme
index b72a41c92..88ef1ca1b 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
;;