Skip to content
Snippets Groups Projects
Unverified Commit faccc0a4 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[fzf-tmux] Escape backslash in command-line arguments

parent 9078688b
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,7 @@ mkfifo -m o+w $fifo3
# Build arguments to fzf
opts=""
for arg in "${args[@]}"; do
arg="${arg//\\/\\\\}"
arg="${arg//\"/\\\"}"
arg="${arg//\`/\\\`}"
opts="$opts \"$arg\""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment