๐Ÿบ Homebrew ๐ŸŸ Fish shell completions

Fish shell completions for Homebrew.

STATUS this plugin has been merged upstream, so the repository is archived.


Fish includes some basic completions for brew, but a lot of commands and options are missing/outdated. So this work is aiming to fill the gap and provide a comprehensive Homebrew completions plugin. It supports

  • all 75 core brew commands (85 with aliases) and all their options
  • official external commands with their subcommands and options:
    • bundle: Bundler for non-Ruby dependencies from Homebrew
    • cask: Install macOS applications distributed as binaries
    • services: Integrates Homebrew formulae with macOS's launchctl manager
  • besides basic options completion, it also takes into account when some options are mutually exclusive or depend on other options

It is mostly based on the Homebrew documentation: manpage + brew help, but it also includes several "undocumented" commands, supported by Homebrew.

Install

  • Using fisher:

    fisher add laughedelic/brew-completions
    
  • Using oh-my-fish:

    omf install https://github.com/laughedelic/brew-completions
    
  • Using fin:

    echo laughedelic/brew-completions >> ~/.config/fish/fishfile; and fin
    

Brew Completions

๐ŸบFish shell completions for Homebrew

Brew Completions Info

โญ Stars45
๐Ÿ”— Source Codegithub.com
๐Ÿ•’ Last Updatea year ago
๐Ÿ•’ Created5 years ago
๐Ÿž Open Issues1
โž— Star-Issue Ratio45
๐Ÿ˜Ž Authorlaughedelic