[half-life] Fix last command check

Fixes #6758
This commit is contained in:
Marc Cornellà 2018-04-23 20:47:19 +02:00 committed by GitHub
parent c117d241cb
commit 45a9f28464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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