From cee5b2b6ac8eb6de98b20d2a583199325eafc35e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Reegn?= Date: Mon, 13 Sep 2021 14:13:07 +0200 Subject: [PATCH] Fix paths not showing when file contains spaces This was a regression after introducting refresh. --- bin/jq-repl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/jq-repl b/bin/jq-repl index 8a672f4..683e8f3 100755 --- a/bin/jq-repl +++ b/bin/jq-repl @@ -19,7 +19,7 @@ if [ "${1:-}" = "--" ]; then shift export FZF_JQ_REPL_COMMAND="$* > $input; jq-paths <$input" else - export FZF_JQ_REPL_COMMAND="jq-paths < $input" + export FZF_JQ_REPL_COMMAND="jq-paths < \"$input\"" fi eval "$FZF_JQ_REPL_COMMAND" |