Skip to content

Commit

Permalink
Merge pull request #16317 from yoshida-ryuhei/dev/update_completions_…
Browse files Browse the repository at this point in the history
…bundle

Improve fish completions of brew bundle
  • Loading branch information
MikeMcQuaid committed Dec 12, 2023
2 parents e4b03d1 + 64fc295 commit 9b58b12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/completions/fish.erb
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,12 @@ __fish_brew_complete_arg 'bundle;
and not __fish_brew_opt --file --global
' -l global -d "Use \$HOME/.Brewfile"

__fish_brew_complete_sub_cmd 'bundle' 'install' "Install and upgrade (by default) all dependencies from the Brewfile."
__fish_brew_complete_sub_cmd 'bundle' 'dump' "Write all installed casks/formulae/taps into a Brewfile"
__fish_brew_complete_sub_cmd 'bundle' 'cleanup' "Uninstall all dependencies not listed in a Brewfile"
__fish_brew_complete_sub_cmd 'bundle' 'check' "Check if all dependencies are installed in a Brewfile"
__fish_brew_complete_sub_cmd 'bundle' 'exec' "Run an external command in an isolated build environment"
__fish_brew_complete_sub_cmd 'bundle' 'list' "List all dependencies present in the Brewfile."

# --force is available only for the dump/cleanup subcommands
__fish_brew_complete_sub_arg 'bundle' 'dump cleanup' -l force -d "Uninstall dependencies or overwrite an existing Brewfile"
Expand Down

0 comments on commit 9b58b12

Please sign in to comment.