summaryrefslogtreecommitdiffstats
path: root/.zsh/functions
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/functions')
-rw-r--r--.zsh/functions/preexec_update_vars5
1 files changed, 3 insertions, 2 deletions
diff --git a/.zsh/functions/preexec_update_vars b/.zsh/functions/preexec_update_vars
index 70f3d68..2520798 100644
--- a/.zsh/functions/preexec_update_vars
+++ b/.zsh/functions/preexec_update_vars
@@ -1,12 +1,13 @@
# -*- mode: shell-script -*-
+
case "$1" in
git*)
__EXECUTED_GIT_COMMAND=1
;;
- cower)
+ cower*)
__EXECUTED_COWER_COMMAND=1
;;
- pacman)
+ pacman*)
__EXECUTED_PACMAN_COMMAND=1
;;
esac