diff options
author | Marc Cornellà <marc.cornella@live.com> | 2018-04-23 20:47:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 20:47:19 +0200 |
commit | 45a9f284641a23baa142743d8a6136d4e300c465 (patch) | |
tree | 98db4ab3313ccfb37ffaeb8286b19e0d2dd8f9da /themes | |
parent | c117d241cb4157204e9bda5285786d95e9c2fb36 (diff) | |
download | zsh-45a9f284641a23baa142743d8a6136d4e300c465.tar.gz zsh-45a9f284641a23baa142743d8a6136d4e300c465.tar.bz2 zsh-45a9f284641a23baa142743d8a6136d4e300c465.zip |
[half-life] Fix last command check
Fixes #6758
Diffstat (limited to 'themes')
-rw-r--r-- | themes/half-life.zsh-theme | 2 |
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 ;; |