Stop echo from swallowing passthrough arguments

The job expansion wrapper was swallowing `-n` (and presumably `-e` and
others) when that was the literal argument we needed to emit. Using
`printf %s ...` instead.
This commit is contained in:
Mahmoud Al-Qudsi 2018-04-14 23:19:25 -05:00
parent 7ec761fc75
commit 2961dcc4be

View File

@ -268,7 +268,7 @@ function __fish_expand_pid_args
return 1
end
else
echo $arg
printf "%s\n" $arg
end
end
end