mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08:00
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:
parent
7ec761fc75
commit
2961dcc4be
|
@ -268,7 +268,7 @@ function __fish_expand_pid_args
|
|||
return 1
|
||||
end
|
||||
else
|
||||
echo $arg
|
||||
printf "%s\n" $arg
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user