Fix issue 31

This commit is contained in:
Mounier Florian 2011-01-06 09:16:15 +01:00
parent 262755f1e7
commit 7e963c6c7e

View File

@ -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
_*) _*|.run-help)
;; ;;
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"