-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
zsh completion is too strict on command line args #850
Comments
I'm not sure I understand the issue entirely. Are you saying the candidates don't include the |
when |
Ah ok! I understand, thanks. I think this has to do with how Zsh completion works and isn't specific to I'm open to suggestions on how to make the completion generation better. |
This might have been fixed by #1141. Needs testing. |
@segevfiner @laishulu I don't have zsh and I tried testing it with mac's default zsh (5.3) and I keep getting |
By pksunkara's request, I tested with the example program in PR #1793, this issue is fixed. |
Rust Version
rustc 1.17.0-nightly (29dece1c8 2017-02-08)
Affected Version of clap
"clap 2.20.3 (registry+https://github.com/rust-lang/crates.io-index)",
name = "clap"
"checksum clap 2.20.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f89819450aa94325998aa83ce7ea142db11ad24c725d6bc48459845e0d6d9f18"
Expected Behavior Summary
myapp --foo1 bar1 --foo2 bar2 --foo3 bar3 --<tab>
then list candidates for more args.
Actual Behavior Summary
when
myapp --foo1=bar1 --foo2=bar2 --foo3=bar3 --<tab>
, auto complete works perfect.but if I use
space
instead of the=
symbol, auto complete doesn't work.The text was updated successfully, but these errors were encountered: