1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-08-20 23:13:49 -07:00

[fzf-tmux] Escape $ in arguments

e.g. fzf-tmux -q '$PATH'

Related: 
This commit is contained in:
Junegunn Choi
2016-06-08 01:27:22 +09:00
parent 56fb2f00b3
commit 6a431cbf49

@@ -137,6 +137,7 @@ for arg in "${args[@]}"; do
arg="${arg//\\/\\\\}"
arg="${arg//\"/\\\"}"
arg="${arg//\`/\\\`}"
arg="${arg//$/\\$}"
opts="$opts \"$arg\""
done