-
-
Notifications
You must be signed in to change notification settings - Fork 684
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
TAB completion is giving local directory files where command is called. #535
Comments
Hi, autoload -Uz compinit
zstyle ':completion:*' menu select
fpath+=~/.zfunc
compinit Thanks @shelper #54 (comment) |
Same issue, not resolved yet |
Thanks for the report! For the |
I've tried the #237, but not resolved yet. Version: typer == 0.12.3 autoload -Uz compinit
zstyle ':completion:*' menu select
fpath+=~/.zfunc
compinit When I do same thing with the document, my shell can only dispaly the file in current dictory after pressing |
@Zhang-Zelong: can you remove the second line from your
|
Okay! That works for me, thank you. |
It's a known bug that has already been fixed by PR #237, but requires a final review before it will be merged into |
Thanks all! This was handled in #237, it will be available in Typer |
First Check
Commit to Help
Example Code
Description
Hi,
I am new to typer. Kindly point me to doc/issue if this issue is already resolved.
I have written a small cli completion code tmp.py and executed "./tmp.py --install-completion bash".
When i tried to do tab completion , if no files are there tmp.py is repeating "./tmp.py Ipv4 tmp.py tmp.py" or if any files is there, they are getting displayed in the directory where i am calling this script. Could you please help me to resolve this. I am expecting if the last command is reached it should either display help on TAB or dont display anything so that user will enter to get help.
Operating System
Linux
Operating System Details
No response
Typer Version
0.7.0
Python Version
3.6.8
Additional Context
No response
The text was updated successfully, but these errors were encountered: