mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
Use $2 (expanded command about to be ran)
This commit is contained in:
parent
f996fcd823
commit
cb29b154be
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ zstyle ':vcs_info:*:prompt:*' nvcsformats ""
|
|||
|
||||
|
||||
function steeef_preexec {
|
||||
case "$(whence -c $(fc -l $HISTCMD $HISTCMD))" in
|
||||
case "$2" in
|
||||
*git*)
|
||||
PR_GIT_UPDATE=1
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue