mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Merge 5e26da7390 into ad522a0914
This commit is contained in:
commit
05efa4869b
1 changed files with 1 additions and 0 deletions
|
|
@ -399,6 +399,7 @@ _zsh_highlight_preexec_hook()
|
|||
typeset -gi _ZSH_HIGHLIGHT_PRIOR_CURSOR=
|
||||
}
|
||||
autoload -U add-zsh-hook
|
||||
add-zsh-hook -d preexec _zsh_highlight_preexec_hook
|
||||
add-zsh-hook preexec _zsh_highlight_preexec_hook 2>/dev/null || {
|
||||
print -r -- >&2 'zsh-syntax-highlighting: failed loading add-zsh-hook.'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue