[fzf-tmux] Escape backslash in command-line arguments
This commit is contained in:
parent
9078688baf
commit
faccc0a410
@ -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\""
|
||||
|
Loading…
Reference in New Issue
Block a user