mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-11 02:36:12 +00:00
[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//\"/\\\"}"
|
||||||
arg="${arg//\`/\\\`}"
|
arg="${arg//\`/\\\`}"
|
||||||
|
arg="${arg//$/\\$}"
|
||||||
opts="$opts \"$arg\""
|
opts="$opts \"$arg\""
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user