From 5003fa7c9ba9362f5e7a116a076b1ff7b53f33e5 Mon Sep 17 00:00:00 2001 From: Julien Nicoulaud Date: Sun, 31 Jul 2011 17:14:50 +0200 Subject: [PATCH] We don't need this hook as we have already bound every widget we could find (stop me if I'm wrong) --- zsh-syntax-highlighting.zsh | 3 --- 1 file changed, 3 deletions(-) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index 3b7b5b1..1c1b321 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -162,9 +162,6 @@ for cur_widget in ${${(f)"$(builtin zle -la)"}:#(.*|orig-*|run-help|which-comman done unset cur_widget -# Start highlighting immediately after the creation of a new command line. -autoload add-zsh-hook && add-zsh-hook precmd _zsh_highlight - # Load highlighters from highlighters directory and check they define required functions. for highlighter_dir ($highlighters_dir/*/); do highlighter="${highlighter_dir:t}"