mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
brew.fish: Add update-reset
subcommand completion (#5608)
* brew.fish: Add `update-reset` subcommand This command resets all tap's remotes to the latest available upstream. Ideal for debugging before reporting bugs or just housekeeping. Add missing newlines. * Add `brew.fish` changes to CHANGELOG.md
This commit is contained in:
parent
b00f039489
commit
df375ea12d
2 changed files with 7 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
|||
- The completions for `configure` now correctly offer directories. (#5518)
|
||||
- The `man` completions won't interpret the argument as a regex anymore. (#5566)
|
||||
- Killing the terminal while fish is in vi-normal mode will no longer send it spinning and eating CPU. (#5528)
|
||||
- `brew.fish`: Add `update-reset` subcommand completion
|
||||
|
||||
|
||||
# fish 3.0.0 (released December 28, 2018)
|
||||
|
|
|
@ -356,6 +356,9 @@ complete -f -c brew -n '__fish_brew_using_command untap' -a '(__fish_brew_taps)'
|
|||
complete -f -c brew -n '__fish_brew_needs_command' -a update -d 'Fetch newest version of Homebrew and formulas'
|
||||
complete -f -c brew -n '__fish_brew_using_command update' -l rebase -d 'Use git pull --rebase'
|
||||
|
||||
# update-reset
|
||||
complete -f -c brew -n '__fish_brew_needs_command' -a update-reset -d 'Reset all Homebrew taps to upstream state'
|
||||
|
||||
# upgrade
|
||||
complete -f -c brew -n '__fish_brew_needs_command' -a upgrade -d 'Upgrade outdated brews'
|
||||
complete -f -c brew -n '__fish_brew_using_command upgrade' -a '(__fish_brew_outdated_formulas)'
|
||||
|
@ -431,6 +434,7 @@ complete -f -c brew -n '__fish_brew_is_subcommand_cask homepage' -a '(__fish_bre
|
|||
# info
|
||||
complete -f -c brew -n '__fish_brew_needs_cask_action' -a 'info abv' -d 'Dislay info about cask'
|
||||
complete -f -c brew -n '__fish_brew_is_subcommand_cask info' -a '(__fish_brew_casks)'
|
||||
|
||||
# adv
|
||||
complete -f -c brew -n '__fish_brew_is_subcommand_cask abv' -a '(__fish_brew_casks)'
|
||||
|
||||
|
@ -475,9 +479,11 @@ complete -f -c brew -n '__fish_brew_is_subcommand_cask style' -a '(__fish_brew_c
|
|||
complete -f -c brew -n '__fish_brew_needs_cask_action' -a 'remove rm uninstall' -d 'Uninstall cask'
|
||||
complete -f -c brew -n '__fish_brew_is_subcommand_cask uninstall' -l force -d 'Force the uninstall'
|
||||
complete -f -c brew -n '__fish_brew_is_subcommand_cask uninstall' -a '(__fish_brew_casks_installed)'
|
||||
|
||||
# remove
|
||||
complete -f -c brew -n '__fish_brew_is_subcommand_cask remove' -l force -d 'Force the uninstall'
|
||||
complete -f -c brew -n '__fish_brew_is_subcommand_cask remove' -a '(__fish_brew_casks_installed)'
|
||||
|
||||
# rm
|
||||
complete -f -c brew -n '__fish_brew_is_subcommand_cask rm' -l force -d 'Force the uninstall'
|
||||
complete -f -c brew -n '__fish_brew_is_subcommand_cask rm' -a '(__fish_brew_casks_installed)'
|
||||
|
|
Loading…
Reference in a new issue