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

Bash autocompletion is broken #641

Closed
ratijas opened this issue Oct 3, 2020 · 3 comments · Fixed by #656
Closed

Bash autocompletion is broken #641

ratijas opened this issue Oct 3, 2020 · 3 comments · Fixed by #656

Comments

@ratijas
Copy link
Contributor

ratijas commented Oct 3, 2020

Consider this simple and minimal example:

$ aura -S <Tab>
>>=     aura    check   input.  Please  your    

There is a space after -S, and looking at all those whitespaces in the output, I think they were somehow parser as an input for autocompletion.

Regarding a confusing error message, there is another issue: #639.

Expected behavior

Filter out error messages for autocompletion, i.e. 2&>/dev/null.

Also, autocomplete package names: #640.

Actual behavior

Error message (supposedly) was parsed as an input for autocompletion.

@fosskers
Copy link
Owner

fosskers commented Oct 5, 2020

It seems that I will have to revisit both the Bash and Zsh completions entirely.

@fosskers
Copy link
Owner

fosskers commented Oct 23, 2020

Having fixed #639 , I can't seem to replicate the original issue anymore. But the fact remains that the Bash completions are horridly out of date. I intend to rebuild them based off Pacman's, which is what I originally did years and years ago.

@fosskers fosskers linked a pull request Oct 23, 2020 that will close this issue
@fosskers
Copy link
Owner

This fix will be included in the next release, which I can do once we settle on the other two open PRs.

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.

2 participants