Make steef much faster by not printing all history each time

This commit is contained in:
Sean Abraham 2017-10-16 20:54:24 -07:00
commit f80e68e8ef

View file

@ -62,7 +62,7 @@ zstyle ':vcs_info:*:prompt:*' nvcsformats ""
function steeef_preexec { function steeef_preexec {
case "$(history $HISTCMD)" in case "$(whence $(fc -l $HISTCMD $HISTCMD))" in
*git*) *git*)
PR_GIT_UPDATE=1 PR_GIT_UPDATE=1
;; ;;