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

(non-zsh) completion scripts don't account for -c #238

Open
bitprophet opened this issue Apr 29, 2015 · 1 comment
Open

(non-zsh) completion scripts don't account for -c #238

bitprophet opened this issue Apr 29, 2015 · 1 comment

Comments

@bitprophet
Copy link
Member

@bitprophet bitprophet commented Apr 29, 2015

The builtin completion shell scripts just use invoke --complete -- <invocation>, which doesn't work when one is using the -c/--collection argument to load a nondefault collection module. Ideally, it should attempt to notice this and copy it.

@bitprophet
Copy link
Member Author

@bitprophet bitprophet commented Apr 29, 2015

Got this working for zsh, leaving bash/fish open for later/user submission.

Also exposed another bug where having core flags in completion input, causes flag completion to find core context instead of task context. Making that a new bug: #239

@bitprophet bitprophet changed the title Completion scripts don't account for -c (non-zsh) completion scripts don't account for -c Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant