We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tab completing an open quoted path with tilde adds another one:
mv ~"/Downloads/with space<TAB> # mv ~"~"/Downloads/with space"
Not add another ~
~
No response
0.45.0
2023/12/02 20:59:36.723484 bash -------------------------------------------------------------------------------- 2023/12/02 20:59:36.723536 bash []string{"carapace", "_carapace", "bash", "mv", "~/Downloads/w"} 2023/12/02 20:59:36.723622 bash COMPLINE "mv ~/Downloads/w" 2023/12/02 20:59:36.723656 bash patching args to []string{"bash", "mv", "~/Downloads/w"} 2023/12/02 20:59:36.723658 bash traverse called for "mv" with args []string{"~/Downloads/w"} 2023/12/02 20:59:36.723661 bash executing PreRun for "mv" with args []string{"~/Downloads/w"} 2023/12/02 20:59:36.723693 bash parsing flags for "mv" with args []string{} 2023/12/02 20:59:36.723696 bash completing positionals and subcommands for arg "~/Downloads/w" false~"/Downloads/with space" 2023/12/02 20:59:42.023471 bash -------------------------------------------------------------------------------- 2023/12/02 20:59:42.023531 bash []string{"carapace", "_carapace", "bash", "mv", "~/Downloads/with spac"} 2023/12/02 20:59:42.023632 bash COMPLINE "mv ~\"/Downloads/with spac" 2023/12/02 20:59:42.023666 bash patching args to []string{"bash", "mv", "~/Downloads/with spac"} 2023/12/02 20:59:42.023669 bash traverse called for "mv" with args []string{"~/Downloads/with spac"} 2023/12/02 20:59:42.023671 bash executing PreRun for "mv" with args []string{"~/Downloads/with spac"} 2023/12/02 20:59:42.023708 bash parsing flags for "mv" with args []string{} 2023/12/02 20:59:42.023710 bash completing positionals and subcommands for arg "~/Downloads/with spac" false~"/Downloads/with space"
related #947
The text was updated successfully, but these errors were encountered:
Should be an issue in carapace-shlex not correctly handling open quotes.
Looks like bash considers an open quote as wordbreak so anything before it won't be replaced.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Current Behavior
Tab completing an open quoted path with tilde adds another one:
Expected Behavior
Not add another
~
Steps To Reproduce
No response
Version
0.45.0
OS
Shell
Anything else?
related #947
The text was updated successfully, but these errors were encountered: