Browse Source

[half-life] Fix last command check

Fixes #6758
Marc Cornellà 6 years ago
parent
commit
45a9f28464
1 changed files with 1 additions and 1 deletions
  1. 1 1
      themes/half-life.zsh-theme

+ 1 - 1
themes/half-life.zsh-theme

@@ -60,7 +60,7 @@ zstyle ':vcs_info:*:prompt:*' nvcsformats   ""
 
 
 function steeef_preexec {
-    case "$(history $HISTCMD)" in
+    case "$2" in
         *git*)
             PR_GIT_UPDATE=1
             ;;