mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
Fix error message for variable used as command
This commit is contained in:
@@ -830,7 +830,7 @@ parse_execution_result_t parse_execution_context_t::handle_command_not_found(con
|
||||
{
|
||||
this->report_error(statement_node,
|
||||
_(L"Variables may not be used as commands. In fish, please define a function or use 'eval %ls'."),
|
||||
cmd+1);
|
||||
cmd);
|
||||
}
|
||||
else if (wcschr(cmd, L'$'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user