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'