fish-shell/tests/vars_as_commands.err
Kurtis Rader 512506f0f9 don't print internal token in error message
Attempting to execute something like `exec "$test"` results in a fish internal
token (a Unicode private use char) being printed in the resulting error
message. That's obviously not desirable as well as confusing.

Fixes #3187
2016-07-10 20:02:39 -07:00

6 lines
252 B
Text

Variables may not be used as commands. In fish, please define a function or use 'eval $test'.
fish: exec $test
^
Variables may not be used as commands. In fish, please define a function or use 'eval "$test"'.
fish: exec "$test"
^