mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
Shebang error: Use /path/to/fish
Otherwise this looks like `#! fish` is a valid shebang, which it is not. We don't interpret $PATH here, and the kernel typically doesn't.
This commit is contained in:
@@ -430,7 +430,7 @@ void safe_report_exec_error(int err, const char *actual_cmd, const char *const *
|
||||
if (0 == strcmp(lastdot, ".fish")) {
|
||||
FLOGF_SAFE(exec,
|
||||
"fish scripts require an interpreter directive (must start with "
|
||||
"'#! fish').");
|
||||
"'#!/path/to/fish').");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user