From 2961dcc4be9569b95d2fe46c1cff1da8fd532ddb Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Sat, 14 Apr 2018 23:19:25 -0500 Subject: [PATCH] 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. --- share/config.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/config.fish b/share/config.fish index a9898a083..ed6dd459c 100644 --- a/share/config.fish +++ b/share/config.fish @@ -268,7 +268,7 @@ function __fish_expand_pid_args return 1 end else - echo $arg + printf "%s\n" $arg end end end