Skip to content

Enable shell completions in Homebrew  #285

Open

Description

@amoeba

Homebrew formulae and casks can install shell completions at install-time and dbc has shell completions but we haven't enabled these in GoReleaser. We should.

Blocked on:

  • Waiting for someone to submit dbc to homebrew/core (as a Formula, not Cask)

Activity

  1. amoeba commented on Feb 3, 2026

    @amoeba
    MemberAuthor

    I think we have to hold off on this until dbc is in homebrew/core (as a formula, not cask). dbc's shell completions are generated dynamically and GoReleaser (and ultimately brew) needs these to be static files. See https://www.github.com/Homebrew/brew/issues/21482.

  2. changed the title [-]Enable shell completions in Homebrew tap[/-] [+]Enable shell completions in Homebrew [/+] on Feb 3, 2026
  3. zeroshade commented on Feb 4, 2026

    @zeroshade
    Member

    Our completions are static files though (even though we output them dynamically). We could update the goreleaser config to publish the completions in the meantime while it's still a cask?

  4. amoeba commented on Feb 4, 2026

    @amoeba
    MemberAuthor

    Oh, you're right. I don't know why I wasn't seeing them when I write this issue. Yeah we can totally do that.

  5. added a commit that references this issue on Feb 6, 2026
  6. JavOrraca commented on Feb 10, 2026

    @JavOrraca

    Same issue (I think)... I am trying to install the dbc cask via homebrew but it appears to reference shell completion files that don't exist. Thanks folks!

  7. amoeba commented on Feb 11, 2026

    @amoeba
    MemberAuthor

    Hey @JavOrraca, apologies for that. Can you try running brew update and installing again with brew install dbc? We pushed an update that fixes the installation though you'll have to install completions manually afterwards with dbc completion.

  8. JavOrraca commented on Feb 13, 2026

    @JavOrraca

    Late reply @amoeba but really appreciate the guidance, your recommendation to install completions manually afterwards worked.

  9. added a commit that references this issue on Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions