Use whence -c to expand shell functions as well
This commit is contained in:
parent
f80e68e8ef
commit
f996fcd823
@ -62,7 +62,7 @@ zstyle ':vcs_info:*:prompt:*' nvcsformats ""
|
|||||||
|
|
||||||
|
|
||||||
function steeef_preexec {
|
function steeef_preexec {
|
||||||
case "$(whence $(fc -l $HISTCMD $HISTCMD))" in
|
case "$(whence -c $(fc -l $HISTCMD $HISTCMD))" in
|
||||||
*git*)
|
*git*)
|
||||||
PR_GIT_UPDATE=1
|
PR_GIT_UPDATE=1
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user