mirror of https://github.com/Llewellynvdm/fzf.git
[fzf-tmux] Escape $ in arguments
e.g. fzf-tmux -q '$PATH' Related: #343
This commit is contained in:
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue