psub: add missing line endings to error messages

Fixes #12593
This commit is contained in:
Johannes Altmanninger
2026-03-31 14:20:19 +08:00
parent a32dd63163
commit b321e38f5a

View File

@@ -14,7 +14,10 @@ function psub --description "Read from stdin into a file and output the filename
set -l funcname
if not status --is-command-substitution
printf (_ "%s: Not inside of command substitution") psub >&2
{
printf (_ "%s: Not inside of command substitution") psub
echo
} >&2
return 1
end