aboutsummaryrefslogtreecommitdiff
path: root/zsh-completion
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-04 22:07:54 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-04 22:07:54 +0000
commite91a83397adaad38a7ac9b60d315db481cc3fff2 (patch)
tree95a5847a8467bc7e5f073c5833edcb58e2c4a49e /zsh-completion
parent3caef7b22c4eaee861f0f655d5c1650652b7d2c6 (diff)
downloadpaludis-e91a83397adaad38a7ac9b60d315db481cc3fff2.tar.gz
paludis-e91a83397adaad38a7ac9b60d315db481cc3fff2.tar.xz
Bye bye reconcilio
Diffstat (limited to 'zsh-completion')
-rw-r--r--zsh-completion/Makefile.am2
-rw-r--r--zsh-completion/_reconcilio70
2 files changed, 1 insertions, 71 deletions
diff --git a/zsh-completion/Makefile.am b/zsh-completion/Makefile.am
index e6d2aaf..8648b3c 100644
--- a/zsh-completion/Makefile.am
+++ b/zsh-completion/Makefile.am
@@ -1,5 +1,5 @@
MAINTAINERCLEANFILES = Makefile.in
-noinst_DATA = _paludis _adjutrix _paludis_packages _reconcilio _cave
+noinst_DATA = _paludis _adjutrix _paludis_packages _cave
EXTRA_DIST = $(noinst_DATA)
AUTOMAKE_OPTIONS = 1.11 parallel-tests
diff --git a/zsh-completion/_reconcilio b/zsh-completion/_reconcilio
deleted file mode 100644
index 180f6ab..0000000
--- a/zsh-completion/_reconcilio
+++ /dev/null
@@ -1,70 +0,0 @@
-#compdef reconcilio
-#
-# vim: set et sw=4 sts=4 ts=4 ft=zsh :
-# ZSH completion for adjutrix
-# Written by Baptiste Daroussin <baptux at free.fr>
-_reconcilio() {
- local actions action_options general_options fix_linkage_options install_options deplist_descriptions deplist_options
- actions=(
- --fix-linkage
- --version -V
- --help -h
- )
- general_options=(
- '--log-level[Specify the log level]:log level:((debug\:"Show debug output (noisy)" qa\:"Show QA messages and warnings only (default)" warning\:"Show warnings only" silent\:"Suppress all log messages (UNSAFE)"))'
- '(--no-colour --no-color)'{--no-colour,--no-color}"[Do not use colour]"
- "(--environment -E)"{-E,--environment}"[Environment specification]"
- "--exact[Rebuild the same package version that is currently installed]"
- "(--verbose, -v)"{-v,--verbose}"[Display more detailed output]"
- "--resume-command-template[Save the resume command to a file]:file:_files"
- "--compact[Display output using one line per entry]"
- )
- fix_linkage_options=(
- "--library[Only rebuild packages linked against this library, even if it exists]"
- )
- install_options=(
- "(--pretend -p)"{--pretend,-p}"[Pretend only]"
- "(--fetch -f)"{--fetch,-f}"[Only fetch sources; don\'t install anything]"
- "--no-safe-resume[Do not allow interrupted downloads to be resumed]"
- "--show-reasons[Show why packages are being (un)installed]:Verbosity:((none\:Don\'t\ show\ any\ information summary\:Show\ a\ summary full\:Show\ full\ output))"
- "--show-use-descriptions[Show descriptions of USE flags]:Which:((none\:Don\'t\ show\ any\ descriptions new\:Show\ for\ new\ use\ flags changed\:Show\ for\ new\ and\ changed\ flags all\:Show for all flags))"
- "--show-package-descriptions[Show package descriptions]:When:((none\:Don\'t\ show\ any\ descriptions new\:Show\ descriptions\ for\ new\ packages all\:Show\ descriptions\ for\ all\ packages))"
- "--continue-on-failure[Whether to continue after a fetch or install error]:When:((if-fetch-only\:If\ fetching\ only never\:Never if-satisfied\:If\ remaining\ packages\ dependencies\ are\ satisfied if-independent\:If\ independent\ of\ failed\ and\ skipped\ packages always\:Always))"
- )
- deplist_descriptions='
- pre\:"As pre dependencies"
- pre-or-post\:"As pre dependencies, or post dependencies where needed"
- post\:"As post dependencies"
- try-post\:"As post dependencies, with no error for failures"
- discard\:"Discard (default)"'
- deplist_options=(
- "--dl-blocks[How to handle blocks]:How:(accumulate error discard)"
- "--dl-override-masks[Zero or more mask kinds that can be overridden as necessary]:What:(none tilde-keyword unkeyworded profile repository license)"
- "--dl-suggested[How to handle suggested dependencies]:How:(show install discard)"
- "--dl-downgrade[When to downgrade packages]:When:(as-needed warning error)"
- "--dl-reinstall[When to reinstall packages]:When:(never always if-use-changed)"
- "--dl-reinstall-scm[When to reinstall scm packages]:When:(never always daily weekly)"
- "--dl-reinstall-targets[When to reinstall targets]:When:(auto never always)"
- "--dl-upgrade[When to upgrade packages]:When:(always as-needed)"
- "--dl-deps-default[Override default behaviour for all dependency classes]:How:(($deplist_descriptions))"
- "--dl-installed-deps-pre[How to handle pre dependencies for installed packages]:How:(($deplist_descriptions))"
- "--dl-installed-deps-runtime[How to handle runtime dependencies for installed packages]:How:(($deplist_descriptions))"
- "--dl-installed-deps-post[How to handle post dependencies for installed packages]:How:(($deplist_descriptions))"
- "--dl-uninstalled-deps-pre[How to handle pre dependencies for uninstalled packages]:How:(($deplist_descriptions))"
- "--dl-uninstalled-deps-post[How to handle post dependencies for uninstalled packages]:How:(($deplist_descriptions))"
- "--dl-uninstalled-deps-runtime[How to handle runtime dependencies for uninstalled packages]:How:(($deplist_descriptions))"
- "--dl-uninstalled-deps-suggested[How to handle suggested dependencies for uninstalled packages]:How:(($deplist_descriptions))"
- "--dl-circular[How to handle circular dependencies]:How:(error discard)"
- "--dl-fall-back[When to fall back to installed packages]:When:(as-needed-except-targets as-needed never)"
- "--dl-new-slots[When to pull in new slots (works with --dl-upgrade)]:When:(always as-needed)"
- )
- action_options=(
- "($actions)--fix-linkage[Search for and rebuild packages linked against non-existant libraries]"
- "(: -)"{--version,-V}"[Display program version]"
- "(: -)"{--help,-h}"[Display program help]"
- )
- _arguments -s \
- $general_options[@] $fix_linkage_options[@] $install_options[@] $deplist_options[@] $action_options[@] && return 0
-}
-
-_reconcilio "$@"