mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-22 19:09:00 +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//$/\\$}"
|
||||
opts="$opts \"$arg\""
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user