mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-13 02:52:01 +08:00
![Kurtis Rader](/assets/img/avatar_default.png)
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
7 lines
252 B
Plaintext
7 lines
252 B
Plaintext
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"
|
|
^
|