Remove completions for (un)linkapps commands
These were deleted in cffa5a9864e771f19231537b812b9b32a1160be0.
This commit is contained in:
parent
b1a92ba14a
commit
38ae15fe7d
@ -251,17 +251,6 @@ _brew_link() {
|
|||||||
__brew_complete_installed
|
__brew_complete_installed
|
||||||
}
|
}
|
||||||
|
|
||||||
_brew_linkapps() {
|
|
||||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
|
||||||
case "$cur" in
|
|
||||||
--*)
|
|
||||||
__brewcomp "--local"
|
|
||||||
return
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
__brew_complete_installed
|
|
||||||
}
|
|
||||||
|
|
||||||
_brew_list() {
|
_brew_list() {
|
||||||
local allopts="--unbrewed --verbose --pinned --versions --multiple"
|
local allopts="--unbrewed --verbose --pinned --versions --multiple"
|
||||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
@ -482,17 +471,6 @@ _brew_uninstall() {
|
|||||||
__brew_complete_installed
|
__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() {
|
_brew_unpack() {
|
||||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
@ -827,7 +805,6 @@ _brew() {
|
|||||||
install|instal) _brew_install ;;
|
install|instal) _brew_install ;;
|
||||||
irb) _brew_irb ;;
|
irb) _brew_irb ;;
|
||||||
link|ln) _brew_link ;;
|
link|ln) _brew_link ;;
|
||||||
linkapps) _brew_linkapps ;;
|
|
||||||
list|ls) _brew_list ;;
|
list|ls) _brew_list ;;
|
||||||
log) _brew_log ;;
|
log) _brew_log ;;
|
||||||
man) _brew_man ;;
|
man) _brew_man ;;
|
||||||
@ -852,7 +829,6 @@ _brew() {
|
|||||||
tests) _brew_tests ;;
|
tests) _brew_tests ;;
|
||||||
uninstall|remove|rm) _brew_uninstall ;;
|
uninstall|remove|rm) _brew_uninstall ;;
|
||||||
unlink) __brew_complete_installed ;;
|
unlink) __brew_complete_installed ;;
|
||||||
unlinkapps) _brew_unlinkapps ;;
|
|
||||||
unpack) _brew_unpack ;;
|
unpack) _brew_unpack ;;
|
||||||
unpin) __brew_complete_formulae ;;
|
unpin) __brew_complete_formulae ;;
|
||||||
untap) __brew_complete_tapped ;;
|
untap) __brew_complete_tapped ;;
|
||||||
|
@ -89,7 +89,6 @@ __brew_common_commands() {
|
|||||||
'reinstall:install a formula anew; re-using its current options'
|
'reinstall:install a formula anew; re-using its current options'
|
||||||
'leaves:show installed formulae that are not dependencies of another installed formula'
|
'leaves:show installed formulae that are not dependencies of another installed formula'
|
||||||
'link:link a formula'
|
'link:link a formula'
|
||||||
'linkapps:symlink .app bundles provided by formulae into /Applications'
|
|
||||||
'list:list files in a formula or not-installed formulae'
|
'list:list files in a formula or not-installed formulae'
|
||||||
'log:git commit log for a formula'
|
'log:git commit log for a formula'
|
||||||
'missing:check all installed formuale for missing dependencies.'
|
'missing:check all installed formuale for missing dependencies.'
|
||||||
@ -108,7 +107,6 @@ __brew_common_commands() {
|
|||||||
'test-bot:test a formula and build a bottle'
|
'test-bot:test a formula and build a bottle'
|
||||||
'uninstall:uninstall a formula'
|
'uninstall:uninstall a formula'
|
||||||
'unlink:unlink a formula'
|
'unlink:unlink a formula'
|
||||||
'unlinkapps:remove symlinked .app bundles provided by formulae from /Applications'
|
|
||||||
'unpin:unpin specified formulae'
|
'unpin:unpin specified formulae'
|
||||||
'untap:remove a tapped repository'
|
'untap:remove a tapped repository'
|
||||||
'update:fetch latest version of Homebrew and all formulae'
|
'update:fetch latest version of Homebrew and all formulae'
|
||||||
@ -448,13 +446,6 @@ _brew_linkage() {
|
|||||||
':formula:__brew_installed_formulae'
|
':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 [--full-name]:
|
||||||
# brew list, ls --unbrewed:
|
# brew list, ls --unbrewed:
|
||||||
# brew list, ls [--versions [--multiple]] [--pinned] [formulae]:
|
# brew list, ls [--versions [--multiple]] [--pinned] [formulae]:
|
||||||
@ -704,14 +695,6 @@ _brew_unlink() {
|
|||||||
':formula:__brew_installed_formulae'
|
':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 [--git|--patch] [--destdir=path] formulae:
|
||||||
_brew_unpack() {
|
_brew_unpack() {
|
||||||
_arguments \
|
_arguments \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user