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

Enable both git and cmd completions #37

Open
simone-viozzi opened this issue Jan 5, 2023 · 1 comment
Open

Enable both git and cmd completions #37

simone-viozzi opened this issue Jan 5, 2023 · 1 comment

Comments

@simone-viozzi
Copy link

I'm using zsh with Oh my Zsh plugin manager.
Following the completion guide, I called:

_dotbare_completion_git
_dotbare_completion_cmd

But only the last one in order is working. It looks like they are mutually exclusive.

How do I enable both completion at the same time?

@ViaxCo
Copy link

ViaxCo commented Apr 28, 2024

https://github.com/kazhala/dotbare/wiki/Completion#bash

The completion mechanism are currently included in the dotbare.plugin.bash file but is not activated by default. After sourcing dotbare.plugin.bash, you can invoke the completion function to activate them. There are two completion functions which are listed below, only one of them should be used, they are not intended to be invoked together.

You should only use one at a time, not both.

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

No branches or pull requests

2 participants