Skip to content

CM-48457 - Fix Homebrew completions #310

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

Merged
merged 1 commit into from
May 16, 2025

Conversation

MarshalX
Copy link
Collaborator

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.

2 participants