From f962bdf1e70cf255be594768030c0e88370ffaa4 Mon Sep 17 00:00:00 2001 From: Julien Nicoulaud Date: Thu, 6 Jan 2011 23:28:41 +0100 Subject: [PATCH] Fix regression --- tests/data/unknown-command.zsh | 2 +- zsh-syntax-highlighting.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/data/unknown-command.zsh b/tests/data/unknown-command.zsh index 9e2740c..cbd38df 100644 --- a/tests/data/unknown-command.zsh +++ b/tests/data/unknown-command.zsh @@ -1 +1 @@ -ls +azertyuiop diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index 526a54d..c47239d 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -217,7 +217,7 @@ _zsh_highlight-zle-buffer() { local clean_event for event in $(zle -la); do case $event in - _*|orig-*|.which-command) + _*|orig-*|.run-help|.which-command) ;; accept-and-menu-complete) eval "$event() { builtin zle .$event && _zsh_highlight-zle-buffer } ; zle -N $event"