mirror of
https://github.com/junegunn/fzf.git
synced 2024-09-11 14:35:26 +03: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