mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Make steef much faster by not printing all history each time
This commit is contained in:
parent
accdcb2f1c
commit
f80e68e8ef
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ zstyle ':vcs_info:*:prompt:*' nvcsformats ""
|
|||
|
||||
|
||||
function steeef_preexec {
|
||||
case "$(history $HISTCMD)" in
|
||||
case "$(whence $(fc -l $HISTCMD $HISTCMD))" in
|
||||
*git*)
|
||||
PR_GIT_UPDATE=1
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue