mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-12-23 03:19:01 +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