Replies: 1 comment 3 replies
-
You can't. This is a limitation of how shell completion works in shells, it's not something Click can control. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm making a utility script for one of our company's repositories called
scripts/dev.py
, with an aliasalias dev=./scripts/dev.py
.For convenience, I want to enable shell autocompletion, but the instructions say "Completion is only available if a script is installed and invoked through an entry point".
Why is this a limitation? Is there any way to work around it?
I've tried to invoke our script with
_DEV_COMPLETE=zsh_source dev
but the environment variable is ignored.Beta Was this translation helpful? Give feedback.
All reactions