Skip to content

Conversation

@MarshalX
Copy link
Contributor

Context: Homebrew/homebrew-core#223454

Implementation of generate_completions_from_executable: https://github.com/Homebrew/brew/blob/e4e75f547480accf95acff5aa954ad8855716df0/Library/Homebrew/formula.rb#L2117-L2167

So to be able to do work around using generate_completions_from_executable(bin/"cycode", "--show-completion", shells: [:fish, :zsh]) we need to take the first argument as shell and not rely on shellingham

image image

@MarshalX MarshalX merged commit c81407b into main May 16, 2025
25 checks passed
@MarshalX MarshalX deleted the CM-48457-fix-homebrew-completions branch May 16, 2025 11:36
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.

3 participants