ZSH: preexec gives more than just program name
This commit is contained in:
parent
c3d398b1f0
commit
d9c3c8c173
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue