Merge pull request #6186 from Cancun101/master

Removed brew prune ZSH completion
This commit is contained in:
Mike McQuaid 2019-05-30 08:19:10 +01:00 committed by GitHub
commit 47b6429234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -837,7 +837,6 @@ _brew() {
outdated) _brew_outdated ;;
pin) __brew_complete_formulae ;;
postinstall) _brew_postinstall ;;
prune) _brew_prune ;;
pull) _brew_pull ;;
readall) _brew_readall ;;
reinstall) _brew_install ;;

View File

@ -121,7 +121,6 @@ __brew_common_commands() {
'outdated:list formulae for which a newer version is available'
'pin:pin specified formulae'
'postinstall:perform post_install for a given formula'
'prune:remove dead links'
'remove:remove a formula'
'search:search for a formula or cask (/regex/ or string)'
'switch:switch between different versions of a formula'
@ -549,12 +548,6 @@ _brew_postinstall() {
'*:: :__brew_formulae'
}
# brew prune [--dry-run]:
_brew_prune() {
_arguments \
'(--dry-run -n)'{--dry-run,-n}'[show what would be removed, but do not actually remove anything]'
}
# pull [--bottle] [--bump] [--clean] [--ignore-whitespace] [--resolve]
# [--branch-okay] [--no-pbcopy] [--no-publish] patch-source [patch-source]
_brew_pull() {