Skip to content

Conversation

@mernen
Copy link
Contributor

@mernen mernen commented May 11, 2025

Fixes #5979 for good.

I'm not familiar with zsh, and its completion engine is completely different from Bash's, but my experiments suggest it's really just a case of proper array expansion, which is more or less the same thing on both shells.

@mernen mernen changed the title test(complete): Illustrate current behavior in zsh zsh: fix passing arguments in dynamic completion May 11, 2025
@pksunkara pksunkara requested a review from epage May 30, 2025 12:47
@epage
Copy link
Member

epage commented May 30, 2025

@mernen when posting PRs in intermediate states, it would be helpful to ping people because title renames and pushes don't cause notifications so I didn't know this was in a ready state.

@epage epage merged commit a3c6230 into clap-rs:master May 30, 2025
25 checks passed
@mernen
Copy link
Contributor Author

mernen commented May 31, 2025

Oh, I see — the PR wasn't a draft, but GitHub automatically used the first commit's message as the title, and I can see how it looks incomplete from that. I have to pay more attention to the fields before submitting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamic completion at intermediate position erroneously completes the following argument on bash and zsh

2 participants