Fix error when source twice the script
This commit is contained in:
parent
7e963c6c7e
commit
43e31cdc58
|
@ -217,7 +217,7 @@ _zsh_highlight-zle-buffer() {
|
|||
local clean_event
|
||||
for event in $(zle -la); do
|
||||
case $event in
|
||||
_*|.run-help)
|
||||
_*|orig-*|.run-help)
|
||||
;;
|
||||
accept-and-menu-complete)
|
||||
eval "$event() { builtin zle .$event && _zsh_highlight-zle-buffer } ; zle -N $event"
|
||||
|
|
Loading…
Reference in New Issue
Block a user