mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Merge pull request #3053 from jingweno/patch-1
Fix missing add-zsh-hook
This commit is contained in:
commit
be578d9e7a
1 changed files with 2 additions and 3 deletions
|
@ -34,6 +34,5 @@ function omz_termsupport_preexec {
|
||||||
title '$CMD' '%100>...>$LINE%<<'
|
title '$CMD' '%100>...>$LINE%<<'
|
||||||
}
|
}
|
||||||
|
|
||||||
autoload -U add-zsh-hook
|
precmd_functions+=(omz_termsupport_precmd)
|
||||||
add-zsh-hook precmd omz_termsupport_precmd
|
preexec_functions+=(omz_termsupport_preexec)
|
||||||
add-zsh-hook preexec omz_termsupport_preexec
|
|
||||||
|
|
Loading…
Reference in a new issue