-
-
Notifications
You must be signed in to change notification settings - Fork 671
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
[BUG] Typer CLI and Packages not auto-completing #180
Comments
I have the same problem on Arch Linux. My application is named differently, no naming conflict with an existing one. I also checked, the file is created in |
I have faced similar issue today with zsh and powerlevel10k prompt. I managed to solve the problem by moving the following section
in my |
Things I had to do to make completion work, in case it may help someone else:
|
I am using Prezto not powerlevel10k, and I have that same problem.. I tried everything suggested in the thread still not working.. Adding compinit -D at the end of my ~/.zshrc file results in:
|
Hi guys, I'm having the same error on my Ubuntu 20.04 VM. Is there any update on how to solve the problem? |
I've tried that and I got no changes at all. |
Hi guys, any news about this issue?? |
First check
Description
I have built a CLI with with Typer and have been really enjoying using this library. I am looking to setup the auto complete feature but have run into something unexpected. When installing my package, running --install-completion, and restarting the terminal it would "auto complete" to files/dirs in my current directory (not expected behavior). To test whether there was something mis-configured on my end I tested the auto complete or the Typer CLI by running
typer --[TAB][TAB]
which did not auto complete to anything.I'm not sure if there is something wrong with my environment, Typer CLI, my code, or misunderstanding how auto-completion works.
Additional context
I am on OSX and have noticed naming conflict with another program called typer.
I have tested auto complete on this code that I have run with
typer [name.py] run --[TAB][TAB]
Here is the bottom of my .zshrc. I can confirm
Happy to post my full zshrc if it would help!
Can Also confirm that zfunc _typer exists
The text was updated successfully, but these errors were encountered: