mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 08:10:24 +08:00
Fix for quoted variables in command position error message
https://github.com/fish-shell/fish-shell/issues/775
This commit is contained in:
parent
8214ae9b15
commit
09b0213738
@ -2041,7 +2041,7 @@ int parser_t::parse_job(process_t *p,
|
||||
free(cpy);
|
||||
|
||||
}
|
||||
else if (cmd[0]==L'$')
|
||||
else if (cmd[0]==L'$' || cmd[0] == VARIABLE_EXPAND || cmd[0] == VARIABLE_EXPAND_SINGLE)
|
||||
{
|
||||
|
||||
const env_var_t val_wstr = env_get_string(cmd+1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user