summaryrefslogtreecommitdiff
path: root/themes/half-life.zsh-theme
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2018-04-23 20:47:19 +0200
committerGitHub <noreply@github.com>2018-04-23 20:47:19 +0200
commit45a9f284641a23baa142743d8a6136d4e300c465 (patch)
tree98db4ab3313ccfb37ffaeb8286b19e0d2dd8f9da /themes/half-life.zsh-theme
parentc117d241cb4157204e9bda5285786d95e9c2fb36 (diff)
downloadzsh-45a9f284641a23baa142743d8a6136d4e300c465.tar.gz
zsh-45a9f284641a23baa142743d8a6136d4e300c465.tar.bz2
zsh-45a9f284641a23baa142743d8a6136d4e300c465.zip
[half-life] Fix last command check
Fixes #6758
Diffstat (limited to 'themes/half-life.zsh-theme')
-rw-r--r--themes/half-life.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/half-life.zsh-theme b/themes/half-life.zsh-theme
index 5f987099d..8b458cde9 100644
--- a/themes/half-life.zsh-theme
+++ b/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
;;