Color for variables in double quotes = color as outside the quotes
Posted: 16.09.2023 10:40
In shell (bash, dash, etc) variables in double quotes function the same as outside them: they are substituted for their value. Also command substitution is also made within double quotes. So it would make the script files more readable if the variables and command substitution within double quotes were the same color as outside the quotes.
However, out of the box everything within double quotes is the same color. Is it possible to change that and make variables and command substitutions have the same color as outside the quotes. (But keep the current behavior for single quotes, of course; because variables/commands are not expanded within single quotes).
However, out of the box everything within double quotes is the same color. Is it possible to change that and make variables and command substitutions have the same color as outside the quotes. (But keep the current behavior for single quotes, of course; because variables/commands are not expanded within single quotes).