Merge pull request #3053 from jingweno/patch-1

Fix missing add-zsh-hook
This commit is contained in:
Robby Russell 2014-08-31 10:39:03 -07:00
commit be578d9e7a
1 changed files with 2 additions and 3 deletions

View File

@ -34,6 +34,5 @@ function omz_termsupport_preexec {
title '$CMD' '%100>...>$LINE%<<'
}
autoload -U add-zsh-hook
add-zsh-hook precmd omz_termsupport_precmd
add-zsh-hook preexec omz_termsupport_preexec
precmd_functions+=(omz_termsupport_precmd)
preexec_functions+=(omz_termsupport_preexec)