mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Use whence -c to expand shell functions as well
This commit is contained in:
parent
f80e68e8ef
commit
f996fcd823
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue