[fzf-tmux] Fix #343 - Escape backticks in --query
This commit is contained in:
parent
ac160f98a8
commit
0a22142d88
@ -117,7 +117,9 @@ mkfifo $fifo3
|
||||
# Build arguments to fzf
|
||||
opts=""
|
||||
for arg in "${args[@]}"; do
|
||||
opts="$opts \"${arg//\"/\\\"}\""
|
||||
arg="${arg//\"/\\\"}"
|
||||
arg="${arg//\`/\\\`}"
|
||||
opts="$opts \"$arg\""
|
||||
done
|
||||
|
||||
if [ -n "$term" -o -t 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user