diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-09-07 18:40:39 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-09-07 18:40:39 +0900 |
commit | 0a22142d88ae6cf65d3c9801978241554c3ee968 (patch) | |
tree | bd4e6462f024cabc248b728cee560bc2ed11b3e3 /bin | |
parent | ac160f98a8f5aa9ad148a7c6e694b10586652824 (diff) |
[fzf-tmux] Fix #343 - Escape backticks in --query
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fzf-tmux | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/fzf-tmux b/bin/fzf-tmux index abed1ee3..5f690e5e 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -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 |