From d82eee521253c0bd5fa1090a332d892028685ffe Mon Sep 17 00:00:00 2001 From: Jud Porter Date: Fri, 2 Dec 2011 16:44:33 -0500 Subject: [PATCH] add emulate -L zsh to _zsh_highlight_main_highlighter. resolves issue #83 --- highlighters/main/main-highlighter.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/highlighters/main/main-highlighter.zsh b/highlighters/main/main-highlighter.zsh index 7aede14..2032b81 100755 --- a/highlighters/main/main-highlighter.zsh +++ b/highlighters/main/main-highlighter.zsh @@ -61,6 +61,7 @@ _zsh_highlight_main_highlighter_predicate() # Main syntax highlighting function. _zsh_highlight_main_highlighter() { + emulate -L zsh setopt localoptions extendedglob bareglobqual local start_pos=0 end_pos highlight_glob=true new_expression=true arg style typeset -a ZSH_HIGHLIGHT_TOKENS_COMMANDSEPARATOR