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

Not working for me :( #3

Open
erikebrown opened this issue Jan 4, 2022 · 4 comments
Open

Not working for me :( #3

erikebrown opened this issue Jan 4, 2022 · 4 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@erikebrown
Copy link

Hey Gabriele,

For some reason this isn't working for me. I followed your instructions and the auto-complete is not working.

git clone https://github.com/ggirelli/python-click-autocomplete-example.git
cd python-click-autocomplete-example
poetry install
poetry shell

I am on a mac running zsh, so I did:

$ clicko-autocomplete -s zsh
Done. 👍 😃
$ clicko <TAB>
LICENSE         README.md       clickomplete/   poetry.lock     pyproject.toml

As shown here, when I hit after clicko I get a directory listing rather than the subcommands. Any idea why this might be happening?

Thanks,
Erik

@ggirelli
Copy link
Owner

Hello and sorry for the wait. I just got my hands on a mac machine so I will be testing this soon!

@ggirelli ggirelli self-assigned this Jan 26, 2022
@ggirelli ggirelli added bug Something isn't working good first issue Good for newcomers labels Jan 26, 2022
@erikebrown
Copy link
Author

Great, thank you. I kind of gave up on this. I am overriding the Command class to to allow shortcuts, so you can type env as a shortcut for environment which is nice. Auto-complete just doesn't seem to work for me. :(

@guillempuigcom
Copy link

Same problem here. running in a Mac m1 doesn't work for me either...

I also get the directory listing.

@Ahmad-Wahid
Copy link

Ahmad-Wahid commented Jun 5, 2023

I faced the same issue, but then I started a new terminal and it started working.

Screenshot from 2023-06-05 11-49-50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants