exclude .beep
This commit is contained in:
parent
9e75ca0e76
commit
3802e03b4c
2
zsh-syntax-highlighting.zsh
Executable file → Normal file
2
zsh-syntax-highlighting.zsh
Executable file → Normal file
@ -132,7 +132,7 @@ highlighters_dir="${ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR:-${0:h}/highlighters}"
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Override ZLE widgets to make them invoke _zsh_highlight.
|
# 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
|
if [[ "$widgets[$event]" == completion:* ]]; then
|
||||||
eval "zle -C orig-$event ${${${widgets[$event]}#*:}/:/ } ; $event() { builtin zle orig-$event && _zsh_highlight } ; zle -N $event"
|
eval "zle -C orig-$event ${${${widgets[$event]}#*:}/:/ } ; $event() { builtin zle orig-$event && _zsh_highlight } ; zle -N $event"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user