Skip to content

zsh completion fixes#198

Merged
casperdcl merged 1 commit intoiterative:mainfrom
ThomasWaldmann:fix/zsh-variadic-var-swap
Nov 16, 2025
Merged

zsh completion fixes#198
casperdcl merged 1 commit intoiterative:mainfrom
ThomasWaldmann:fix/zsh-variadic-var-swap

Conversation

@ThomasWaldmann
Copy link
Contributor

@ThomasWaldmann ThomasWaldmann commented Nov 16, 2025

While searching for the root cause of #183, I also had a look into #93 and noticed a discrepancy.

See the related mapping in format_positional(), line 515.

I have no clue about zsh scripting or shell completions, but that looked suspicious.

Please review if my fix is actually correct.

see the related mapping in format_positional().
@ThomasWaldmann
Copy link
Contributor Author

@Freed-Wu @casperdcl please check. ^

@ThomasWaldmann ThomasWaldmann changed the title zsh: fix swapped one_or_more and remainder values zsh completion fixes Nov 16, 2025
@casperdcl
Copy link
Collaborator

Thanks @ThomasWaldmann!

I'd rather you put the second commit into a separate PR (with the added bonus that you can describe it in the PR body rather than writing a thesis in a commit comment, hah).

@ThomasWaldmann
Copy link
Contributor Author

@casperdcl OK, moved the 2nd commit to a new PR, that is based on this one. :-)

Copy link
Collaborator

@casperdcl casperdcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🦅👁️ follow-up to/fixes #93

@casperdcl casperdcl merged commit 980a906 into iterative:main Nov 16, 2025
2 checks passed
@ThomasWaldmann ThomasWaldmann deleted the fix/zsh-variadic-var-swap branch November 16, 2025 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-request You asked, we did p0-critical Max priority (ASAP) shell-zsh

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants