diff --git a/share/functions/psub.fish b/share/functions/psub.fish index 39845572d..5062d7bb9 100644 --- a/share/functions/psub.fish +++ b/share/functions/psub.fish @@ -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