Skip to content

Commit cee5b2b

Browse files
committed
Fix paths not showing when file contains spaces
This was a regression after introducting refresh.
1 parent 59b419c commit cee5b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/jq-repl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ "${1:-}" = "--" ]; then
1919
shift
2020
export FZF_JQ_REPL_COMMAND="$* > $input; jq-paths <$input"
2121
else
22-
export FZF_JQ_REPL_COMMAND="jq-paths < $input"
22+
export FZF_JQ_REPL_COMMAND="jq-paths < \"$input\""
2323
fi
2424

2525
eval "$FZF_JQ_REPL_COMMAND" |

0 commit comments

Comments
 (0)