mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2025-02-16 11:08:23 +00:00
*highlight: Optimization: unneeded block {} in if argument
This commit is contained in:
parent
c87d9acd8f
commit
0ab5b98062
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ typeset -gA HSMW_HIGHLIGHT_STYLES
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
elif { (( in_redirection )) || (( this_word & BIT_regular )) || (( this_word & BIT_sudo_opt )) || (( this_word & BIT_sudo_arg )) }
|
elif (( in_redirection )) || (( this_word & BIT_regular )) || (( this_word & BIT_sudo_opt )) || (( this_word & BIT_sudo_arg ))
|
||||||
then # $arg is a non-command word
|
then # $arg is a non-command word
|
||||||
case $arg in
|
case $arg in
|
||||||
$'\x29') # subshell or end of array assignment
|
$'\x29') # subshell or end of array assignment
|
||||||
|
|
Loading…
Add table
Reference in a new issue