run error at sdf

This commit is contained in:
Paul Ackersviller 2016-10-12 21:07:47 -04:00
parent b267c7b4e7
commit 8c47e82475

View File

@ -255,7 +255,7 @@ _zsh_highlight_call_widget()
# Rebind all ZLE widgets to make them invoke _zsh_highlights.
_zsh_highlight_bind_widgets()
{
setopt localoptions noksharrays
setopt localoptions noksharrays unset
typeset -F SECONDS
local prefix=orig-s$SECONDS-r$RANDOM # unique each time, in case we're sourced more than once
@ -280,7 +280,7 @@ _zsh_highlight_bind_widgets()
local cur_widget
for cur_widget in $widgets_to_bind; do
case $widgets[$cur_widget] in
case $widgets[$cur_widget] in # requires no_unset be unset
# Already rebound event: do nothing.
user:_zsh_highlight_widget_*);;