Remove completions for (un)linkapps commands

These were deleted in cffa5a9864e771f19231537b812b9b32a1160be0.
This commit is contained in:
Alyssa Ross 2018-05-01 10:49:44 +01:00
parent b1a92ba14a
commit 38ae15fe7d
No known key found for this signature in database
GPG Key ID: 37A2D352E7A2B260
2 changed files with 0 additions and 41 deletions

View File

@ -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 ;;

View File

@ -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 \