When debugging issue #371 , I noticed the Raw shell completion mode was pretty much unusable due to adding extra quotes around the input, causing zsh and bash to interpret the entire raw input as a single command, which would always fail due to not found. Currently it is only possible to use a single command with no args in raw mode. I also noticed an extra set of quotes are being added to file and dirs for bash, already handled by the Shell wrapper, which could be causing issues.
What's changed
Removed quotes around bash and zsh raw completions, allowing freedom to use arguments/multiple commands in the raw completions
Removed duplicate quotes around bash file and dir completions, seems like the Shell wrapper already handles this and they weren't updated
Summary
When debugging issue #371 , I noticed the
Raw
shell completion mode was pretty much unusable due to adding extra quotes around the input, causing zsh and bash to interpret the entire raw input as a single command, which would always fail due to not found. Currently it is only possible to use a single command with no args in raw mode. I also noticed an extra set of quotes are being added to file and dirs for bash, already handled by theShell
wrapper, which could be causing issues.What's changed
Shell
wrapper already handles this and they weren't updated