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

Completion does not work for sub-commands #9

Closed
jbraga opened this issue May 3, 2019 · 4 comments · Fixed by #126
Closed

Completion does not work for sub-commands #9

jbraga opened this issue May 3, 2019 · 4 comments · Fixed by #126

Comments

@jbraga
Copy link

jbraga commented May 3, 2019

The plugin seems not to handle commands like "config:get" or "config:edit".
It doesn't complete anything after the colon neither subcommand nor flags or arguments.

@ArchangelX360
Copy link
Contributor

ArchangelX360 commented Jul 25, 2019

Same here, to add more context, it seems not to work for any of my machines running Unix (Linux or MacOS) with Bash version >= 4.

@RasPhilCo I see you have a if block for that here, do you know what fails to work in this block?

Workaround (careful, this is not side effect free):
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}

@dlecan
Copy link

dlecan commented Dec 16, 2019

Anything that can be done to help here?

@RasPhilCo
Copy link
Contributor

This plugin needs Bash 4 spiking and testing if you have time.

@dlecan
Copy link

dlecan commented Dec 23, 2019

hi @RasPhilCo, I'm testing unik-name/uns-cli build with Ocliff, plugin-autocomplete v0.1.5 and bash 4.4.20 on Linux.

$ uns <TAB><TAB>
autocomplete           cryptoaccount:create   help                   properties:list        send                   unik:create            unik:is-disclosed      version
cryptoaccount:address  cryptoaccount:read     properties:get         resolve                status                 unik:disclose          unik:read
$ uns unik:<TAB><TAB>

=> irrelevant: list local files

jrevillard added a commit to jrevillard/plugin-autocomplete that referenced this issue Oct 8, 2020
jrevillard added a commit to jrevillard/plugin-autocomplete that referenced this issue Oct 8, 2020
jrevillard added a commit to jrevillard/plugin-autocomplete that referenced this issue Oct 9, 2020
jrevillard added a commit to jrevillard/plugin-autocomplete that referenced this issue Oct 9, 2020
jrevillard added a commit to jrevillard/plugin-autocomplete that referenced this issue Oct 9, 2020
jrevillard added a commit to jrevillard/plugin-autocomplete that referenced this issue Oct 9, 2020
jrevillard added a commit to jrevillard/plugin-autocomplete that referenced this issue Oct 9, 2020
jrevillard added a commit to jrevillard/plugin-autocomplete that referenced this issue Oct 9, 2020
RasPhilCo pushed a commit that referenced this issue Dec 17, 2020
oclif-bot added a commit that referenced this issue Dec 17, 2020
# [0.3.0](v0.2.1...v0.3.0) (2020-12-17)

### Bug Fixes

* completion for subcommands ([#126](#126)) ([30b2857](30b2857)), closes [#9](https://github.com/oclif/issues/9)
* **zsh:** update zsh autocomplete to work with default settings ([#92](#92)) ([b9e8e7b](b9e8e7b)), closes [#91](#91)

### Features

* install on windows bash ([#34](#34)) ([4ca20e5](4ca20e5))
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.

4 participants