aboutsummaryrefslogtreecommitdiff
path: root/zsh-completion
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-04 20:00:32 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-04 20:00:32 +0000
commit8e76744365a37d8cf9816764377cbdd26592e568 (patch)
tree4b9a1490d65f0062152ce1d9ddfb6211c97920d2 /zsh-completion
parentc054c6d7c9be6df0f99a3876f4fbe7608deb023f (diff)
downloadpaludis-8e76744365a37d8cf9816764377cbdd26592e568.tar.gz
paludis-8e76744365a37d8cf9816764377cbdd26592e568.tar.xz
Ding dong, inquisitio is dead
Diffstat (limited to 'zsh-completion')
-rw-r--r--zsh-completion/Makefile.am2
-rw-r--r--zsh-completion/_inquisitio52
2 files changed, 1 insertions, 53 deletions
diff --git a/zsh-completion/Makefile.am b/zsh-completion/Makefile.am
index f9fc6d0..87a2b04 100644
--- a/zsh-completion/Makefile.am
+++ b/zsh-completion/Makefile.am
@@ -1,5 +1,5 @@
MAINTAINERCLEANFILES = Makefile.in
-noinst_DATA = _paludis _adjutrix _paludis_packages _inquisitio _importare _reconcilio _cave
+noinst_DATA = _paludis _adjutrix _paludis_packages _importare _reconcilio _cave
EXTRA_DIST = $(noinst_DATA)
AUTOMAKE_OPTIONS = 1.11 parallel-tests
diff --git a/zsh-completion/_inquisitio b/zsh-completion/_inquisitio
deleted file mode 100644
index 937d3ed..0000000
--- a/zsh-completion/_inquisitio
+++ /dev/null
@@ -1,52 +0,0 @@
-#compdef inquisitio
-#
-# vim: set et sw=4 sts=4 ts=4 ft=zsh :
-# ZSH completion for adjutrix
-# Written by Baptiste Daroussin <baptux at free.fr>
-
-_inquisitio() {
- local actions actions_options general_options matching_options filter_options output_options
- actions=(
- --search -s
- --version -V
- --help -h
- )
- matching_options=(
- "(--keys -k)"{-k,--keys}"[Match using listed metadata keys]:Key: "
- "(--matcher -m)"{-m,--matcher}"[Which match algorithm to use]:algorithm:((text\:Simple\ text\ match pcre\:Regular\ expression exact\:Exact\ text\ match))"
- "(--flatten -f)"{-f,--flatten}"[Flatten spec trees, rather than matching against individual items]"
- "(--enabled-only -e)"{-e,--enabled-only}"[When searching spec trees, only look in enabled subtrees]"
- "(--not -n)"{-n,--not}"[Select packages that do not match]"
- )
-
- filter_options=(
- "(--repository -r)"{-r,--repository}"[Matches with this repository name only]:repository:_paludis_packages repositories"
- "--repository-format[Matches with this repository format only]:format:_paludis_packages repository-formats"
- "--category[Matches with this category name only]:category:_paludis_packages categories"
- "--package[Matches with this package name only]:package:_paludis_packages available"
- "(--visible-only -v)"{-v,--visible-only}"[Only consider visible packages]"
- "(--all-versions -a)"{-a,--all-versions}"[Check all versions, rather than only one]"
- "(--kind -k)"{-k,--kind}"[Packages of this kind only]:((installable\:Installable\ packages installed\:Installed\ packages all\:All\ packages))"
- )
-
- 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]:Environment: "
- )
- output_options=(
- "--compact[Display output using one line per entry]"
- "(--show-dependencies -D)"{-D,--show-dependencies}"[Show dependencies]"
- "(--show-metadata -M)"{-M,--show-metadata}"[Show raw metadata]"
- )
- action_options=(
- "($actions)"{--search,-s}"[Search for a package]"
- "(: -)"{--version,-V}"[Display program version]"
- "(: -)"{--help,-h}"[Display program help]"
- )
-
- _arguments -s \
- $general_options[@] $output_options[@] $filter_options[@] $matching_options[@] $action_options[@] && return 0
-}
-
-_inquisitio "$@"