浏览代码

[half-life] Fix last command check

Fixes #6758
Marc Cornellà 6 年之前
父节点
当前提交
45a9f28464
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
             ;;