*highlight: Optimization: unneeded block {} in if argument

This commit is contained in:
Sebastian Gniazdowski 2016-10-25 14:03:56 +02:00
parent c87d9acd8f
commit 0ab5b98062

View file

@ -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