fish 3.0 added support to use command $foo to execute the command whose name/path is stored in $foo, but the syntax highlighting code was not updated to take into account that a variable is now can be a valid execution target, and as a result $foo is always highlighted in red (since there is no executable literally named $foo).
e.g.
The text was updated successfully, but these errors were encountered:
fish 3.0 added support to use
command $foo
to execute the command whose name/path is stored in$foo
, but the syntax highlighting code was not updated to take into account that a variableis nowcan be a valid execution target, and as a result$foo
is always highlighted in red (since there is no executable literally named$foo
).e.g.
The text was updated successfully, but these errors were encountered: