Skip to content
Myr

[fzf-tmux] Fix #343 - Escape backticks in --query

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent ac160f9 · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:bin/fzf-tmux+3 added-1 removed
115 unmodified lines
116117# Build arguments to fzf118opts=""119for arg in "${args[@]}"; do120 arg="${arg//\"/\\\"}"121 arg="${arg//\`/\\\`}"120 opts="$opts \"${arg//\"/\\\"}\""122 opts="$opts \"$arg\""123done124125if [ -n "$term" -o -t 0 ]; then126 cat <<< "$fzf $opts > $fifo2; echo \$? > $fifo3 $close" > $argsf
12 unmodified lines