From 1858be26bda169e57954ffc3654f09ce83d4aa1f Mon Sep 17 00:00:00 2001 From: garinger Date: Tue, 5 Jul 2011 21:48:02 +0800 Subject: [PATCH] exclude .beep --- zsh-syntax-highlighting.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 zsh-syntax-highlighting.zsh diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh old mode 100755 new mode 100644 index 55200f3..3f72ff2 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -132,7 +132,7 @@ highlighters_dir="${ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR:-${0:h}/highlighters}" } # Override ZLE widgets to make them invoke _zsh_highlight. -for event in ${${(f)"$(zle -la)"}:#(_*|orig-*|.run-help|.which-command)}; do +for event in ${${(f)"$(zle -la)"}:#(_*|orig-*|.run-help|.which-command|.beep)}; do if [[ "$widgets[$event]" == completion:* ]]; then eval "zle -C orig-$event ${${${widgets[$event]}#*:}/:/ } ; $event() { builtin zle orig-$event && _zsh_highlight } ; zle -N $event" else