aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/parse_execution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse_execution.cpp b/src/parse_execution.cpp
index 43e886f5..c50619ed 100644
--- a/src/parse_execution.cpp
+++ b/src/parse_execution.cpp
@@ -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'$'))
{