You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser.add_argument(
"-db",
"--db-uri",
help="uri string for a database",
default="",
type=str,
choices=[
"sqlite:///example.db",
"sqlite:///./examples/local_db/.db",
"sqlite:///",
"mysql://username:password@localhost:3306/database",
],
)
I activate my env, run eval "$(register-python-argcomplete myapp)" and the suggestions work fine in bash.
In zsh however, this does not work correctly and only shows suggestions like: sqlite -- ///example.db:uri string for a database
Is there anything I can do about it? I did not find a way to escape this with some characters.
The problem here seems to be that, zsh suggestion seem to look something like zstyle ':completion:*:*:*:*:descriptions' - where the colon is used to separate the completion from the description..
I have the feeling that this worked yesterday, but I don't know what the cause is
The text was updated successfully, but these errors were encountered:
I have a list of choices:
I activate my env, run
eval "$(register-python-argcomplete myapp)"
and the suggestions work fine in bash.In zsh however, this does not work correctly and only shows suggestions like:
sqlite -- ///example.db:uri string for a database
Is there anything I can do about it? I did not find a way to escape this with some characters.
The problem here seems to be that, zsh suggestion seem to look something like
zstyle ':completion:*:*:*:*:descriptions'
- where the colon is used to separate the completion from the description..I have the feeling that this worked yesterday, but I don't know what the cause is
The text was updated successfully, but these errors were encountered: