Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
This commit is contained in:
Julien Nicoulaud 2011-02-01 21:01:37 +01:00
parent ea792cbf87
commit 78ff61eddc

View File

@ -221,7 +221,7 @@ _zsh_highlight-zle-buffer() {
# Bind all ZLE events from zle -la to highlighting function. # Bind all ZLE events from zle -la to highlighting function.
_zsh_highlight-install() { _zsh_highlight-install() {
zmodload zsh/zleparameter 2>/dev/null || { zmodload zsh/zleparameter 2>/dev/null || {
echo 'zsh-syntax-highlighting:zmoadload error. exiting.' >&2; return -1 echo 'zsh-syntax-highlighting:zmodload error. exiting.' >&2; return -1
} }
local -a events; : ${(A)events::=${@:#(_*|orig-*|.run-help|.which-command)}} local -a events; : ${(A)events::=${@:#(_*|orig-*|.run-help|.which-command)}}
local clean_event local clean_event