mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-27 15:30:15 +08:00
Merge pull request #3053 from jingweno/patch-1
Fix missing add-zsh-hook
This commit is contained in:
commit
be578d9e7a
@ -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 New Issue
Block a user