mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-01-30 09:47:13 +08:00
Issue 38: Conflict with command-not-found
This commit is contained in:
parent
4d0e833079
commit
83372a5cee
@ -217,7 +217,7 @@ _zsh_highlight-zle-buffer() {
|
|||||||
local clean_event
|
local clean_event
|
||||||
for event in $(zle -la); do
|
for event in $(zle -la); do
|
||||||
case $event in
|
case $event in
|
||||||
_*|orig-*|.run-help)
|
_*|orig-*|.which-command)
|
||||||
;;
|
;;
|
||||||
accept-and-menu-complete)
|
accept-and-menu-complete)
|
||||||
eval "$event() { builtin zle .$event && _zsh_highlight-zle-buffer } ; zle -N $event"
|
eval "$event() { builtin zle .$event && _zsh_highlight-zle-buffer } ; zle -N $event"
|
||||||
|
Loading…
Reference in New Issue
Block a user