Fix --with-shell not handling quoted arguments correctly
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Fix #4709 Use go-shellwords instead of strings.Fields to parse --with-shell, so paths with spaces can be properly quoted. ln -s /bin/bash "/tmp/ba sh" fzf --with-shell='/tmp/ba\ sh -c' --preview 'echo hello world' fzf --with-shell='"/tmp/ba sh" -c' --preview 'echo hello world'
authored by Junegunn Choi · committed by Junegunn Choi · parent f3ca0b1 · Browse files · 2 files+4 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+4 added−2 removed
- other:+4 added−2 removed