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

Install: also install bash completion #10

Closed
shanewilson opened this issue Jan 16, 2015 · 1 comment
Closed

Install: also install bash completion #10

shanewilson opened this issue Jan 16, 2015 · 1 comment
Assignees

Comments

@shanewilson
Copy link
Owner

https://github.com/pcapriotti/optparse-applicative/wiki/Bash-Completion

@shanewilson
Copy link
Owner Author

This already works: source <(cgtools --bash-completion-script 'which cgtools')
It is suggested to pre-generate the bash completion and ship that with the exec - but that won't work in this case since cgtools won't be in the $PATH.
We need to generate the auto-completion during to install process to get the path right - although I think that means #11 is pointless since any path change would require a re-install.

I think having bash completion is more important that random moving the exec around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant