cask: add pwsh_completion stanza - #24046
Merged
MikeMcQuaid merged 2 commits intoSep 21, 2026
Merged
Conversation
MikeMcQuaid
reviewed
Sep 20, 2026
AlternateRT
force-pushed
the
cask-pwsh-completion-stanza
branch
from
September 20, 2026 18:02
c8b6a42 to
5ac888d
Compare
This was referenced Sep 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
brew benchmarkresults.brewcommands to reproduce the bug?brew lgtm(style, typechecking and tests) locally?The cask DSL was missing a
pwsh_completionstanza; this adds it to better align it with the formula DSL.I would also like to propose reordering the existing shell completion stanzas to:
Homebrew's documentation uses this order in multiple places, e.g. Shell Completions
generate_completions_from_executable. There is no enforced sort order on formulae, but from what I've seen, most sort them like this already.This would affect 9 casks. This PR includes a workaround for the sort cop so that we can transition them to the proposed order.