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

Fix autocomplete issue when multiple apps run autocomplete from etc/bash_completion.d directory #616

Merged
merged 2 commits into from
Apr 24, 2017

Conversation

tbaud0n
Copy link
Contributor

@tbaud0n tbaud0n commented Apr 6, 2017

If there is more than 1 app that uses bash_autocomplete from /etc/bash_completion.d, the first one initialize PROG to it's name.
Then, for the others apps, PROG is already set so it's doesn't complete the right cli app.

I've just unset PROG variable to fix this issue.

@jszwedko jszwedko merged commit ab403a5 into urfave:master Apr 24, 2017
@jszwedko
Copy link
Contributor

Looks great, thank you @tbaud0n !

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 this pull request may close these issues.

2 participants