Skip to content
Myr

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

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 9078688 · Browse files · 1 file+1 added−0 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+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:bin/fzf-tmux+1 added
132 unmodified lines
133134# Build arguments to fzf135opts=""136for arg in "${args[@]}"; do137 arg="${arg//\\/\\\\}"138 arg="${arg//\"/\\\"}"139 arg="${arg//\`/\\\`}"140 opts="$opts \"$arg\""141done
19 unmodified lines