mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-22 03:13:09 +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
|
||||
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
|
||||
case $arg in
|
||||
$'\x29') # subshell or end of array assignment
|
||||
|
|
Loading…
Reference in a new issue