Skip to content
New issue

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

hx bash autocomplete does not properly handle file names/paths with spaces #9701

Closed
wr7 opened this issue Feb 22, 2024 · 0 comments · Fixed by #9702
Closed

hx bash autocomplete does not properly handle file names/paths with spaces #9701

wr7 opened this issue Feb 22, 2024 · 0 comments · Fixed by #9702

Comments

@wr7
Copy link
Contributor

wr7 commented Feb 22, 2024

Expected behaviour

If your shell is cded into a directory with a file named "foo bar.txt", typing hx foo and pressing tab should autocomplete to hx foo\ bar.txt.

Current behaviour

  • hx foo + Tab
    • Incorrectly keeps hx foo as the current command, and shows bar.txt and foo as two separate completion options
  • hx foo\ bar + Tab
    • Incorrectly autocompletes to hx foo\\\ bar

OS: Gentoo Linux
Version: helix 23.10 (f6021dd)

@wr7 wr7 changed the title Shell autocomplete does not work when file name/path complete spaces hx shell autocomplete does not work when file name/path complete spaces Feb 22, 2024
@wr7 wr7 changed the title hx shell autocomplete does not work when file name/path complete spaces hx shell autocomplete does not properly handle file names/path paths with spaces Feb 22, 2024
@wr7 wr7 changed the title hx shell autocomplete does not properly handle file names/path paths with spaces hx shell autocomplete does not properly handle file names/paths with spaces Feb 22, 2024
@wr7 wr7 changed the title hx shell autocomplete does not properly handle file names/paths with spaces hx bash autocomplete does not properly handle file names/paths with spaces Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant