run error at sdf
This commit is contained in:
parent
b267c7b4e7
commit
8c47e82475
@ -255,7 +255,7 @@ _zsh_highlight_call_widget()
|
|||||||
# Rebind all ZLE widgets to make them invoke _zsh_highlights.
|
# Rebind all ZLE widgets to make them invoke _zsh_highlights.
|
||||||
_zsh_highlight_bind_widgets()
|
_zsh_highlight_bind_widgets()
|
||||||
{
|
{
|
||||||
setopt localoptions noksharrays
|
setopt localoptions noksharrays unset
|
||||||
typeset -F SECONDS
|
typeset -F SECONDS
|
||||||
local prefix=orig-s$SECONDS-r$RANDOM # unique each time, in case we're sourced more than once
|
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
|
local cur_widget
|
||||||
for cur_widget in $widgets_to_bind; do
|
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.
|
# Already rebound event: do nothing.
|
||||||
user:_zsh_highlight_widget_*);;
|
user:_zsh_highlight_widget_*);;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user