diff --git a/completions/bash/brew b/completions/bash/brew index 406b6a901f..6df866577d 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -251,17 +251,6 @@ _brew_link() { __brew_complete_installed } -_brew_linkapps() { - local cur="${COMP_WORDS[COMP_CWORD]}" - case "$cur" in - --*) - __brewcomp "--local" - return - ;; - esac - __brew_complete_installed -} - _brew_list() { local allopts="--unbrewed --verbose --pinned --versions --multiple" local cur="${COMP_WORDS[COMP_CWORD]}" @@ -482,17 +471,6 @@ _brew_uninstall() { __brew_complete_installed } -_brew_unlinkapps() { - local cur="${COMP_WORDS[COMP_CWORD]}" - case "$cur" in - --*) - __brewcomp "--dry-run --local" - return - ;; - esac - __brew_complete_installed -} - _brew_unpack() { local cur="${COMP_WORDS[COMP_CWORD]}" case "$cur" in @@ -827,7 +805,6 @@ _brew() { install|instal) _brew_install ;; irb) _brew_irb ;; link|ln) _brew_link ;; - linkapps) _brew_linkapps ;; list|ls) _brew_list ;; log) _brew_log ;; man) _brew_man ;; @@ -852,7 +829,6 @@ _brew() { tests) _brew_tests ;; uninstall|remove|rm) _brew_uninstall ;; unlink) __brew_complete_installed ;; - unlinkapps) _brew_unlinkapps ;; unpack) _brew_unpack ;; unpin) __brew_complete_formulae ;; untap) __brew_complete_tapped ;; diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 45f50ccb02..41a2bfe503 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -89,7 +89,6 @@ __brew_common_commands() { 'reinstall:install a formula anew; re-using its current options' 'leaves:show installed formulae that are not dependencies of another installed formula' 'link:link a formula' - 'linkapps:symlink .app bundles provided by formulae into /Applications' 'list:list files in a formula or not-installed formulae' 'log:git commit log for a formula' 'missing:check all installed formuale for missing dependencies.' @@ -108,7 +107,6 @@ __brew_common_commands() { 'test-bot:test a formula and build a bottle' 'uninstall:uninstall a formula' 'unlink:unlink a formula' - 'unlinkapps:remove symlinked .app bundles provided by formulae from /Applications' 'unpin:unpin specified formulae' 'untap:remove a tapped repository' 'update:fetch latest version of Homebrew and all formulae' @@ -448,13 +446,6 @@ _brew_linkage() { ':formula:__brew_installed_formulae' } -# brew linkapps [--local] [formulae]: -_brew_linkapps() { - _arguments \ - '(--local)--local[symlink into ~/Application instead of the system directory]' \ - '::formula:__brew_installed_formulae' -} - # brew list, ls [--full-name]: # brew list, ls --unbrewed: # brew list, ls [--versions [--multiple]] [--pinned] [formulae]: @@ -704,14 +695,6 @@ _brew_unlink() { ':formula:__brew_installed_formulae' } -# brew unlinkapps [--local] [--dry-run] [formulae]: -_brew_unlinkapps() { - _arguments \ - '(--local)--local[remove symlinks from ~/Applications instead of the system directory]' \ - '(--dry-run -n)'{--dry-run,-n}'[don''t unlink or delete any files]' \ - ':formula:__brew_installed_formulae' -} - # brew unpack [--git|--patch] [--destdir=path] formulae: _brew_unpack() { _arguments \