mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-11 05:31:14 -03:00
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user