Skip to content

Commit

Permalink
Fix paths not showing when file contains spaces
Browse files Browse the repository at this point in the history
This was a regression after introducting refresh.
  • Loading branch information
reegnz committed Sep 13, 2021
1 parent 59b419c commit cee5b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/jq-repl
Original file line number Diff line number Diff line change
Expand Up @@ -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" |
Expand Down

0 comments on commit cee5b2b

Please sign in to comment.