diff options
author | 2011-02-04 20:00:32 +0000 | |
---|---|---|
committer | 2011-02-04 20:00:32 +0000 | |
commit | 8e76744365a37d8cf9816764377cbdd26592e568 (patch) | |
tree | 4b9a1490d65f0062152ce1d9ddfb6211c97920d2 /bash-completion | |
parent | c054c6d7c9be6df0f99a3876f4fbe7608deb023f (diff) | |
download | paludis-8e76744365a37d8cf9816764377cbdd26592e568.tar.gz paludis-8e76744365a37d8cf9816764377cbdd26592e568.tar.xz |
Ding dong, inquisitio is dead
Diffstat (limited to 'bash-completion')
-rw-r--r-- | bash-completion/Makefile.am | 1 | ||||
-rw-r--r-- | bash-completion/inquisitio | 77 |
2 files changed, 0 insertions, 78 deletions
diff --git a/bash-completion/Makefile.am b/bash-completion/Makefile.am index 378560c7c..58ef29c99 100644 --- a/bash-completion/Makefile.am +++ b/bash-completion/Makefile.am @@ -1,6 +1,5 @@ MAINTAINERCLEANFILES = Makefile.in noinst_DATA = paludis adjutrix \ - inquisitio \ accerso instruo reconcilio \ importare cave EXTRA_DIST = $(noinst_DATA) diff --git a/bash-completion/inquisitio b/bash-completion/inquisitio deleted file mode 100644 index 953c95db9..000000000 --- a/bash-completion/inquisitio +++ /dev/null @@ -1,77 +0,0 @@ -# Bash completion function for inquisitio -# Written by Mike Kelly -# vim: set et sw=4 sts=4 ts=4 ft=sh : - -# NOTE: This is still a work in progress, don't expect it to work well or -# properly right now. - -_inquisitio() { - local cur prev opts - COMPREPLY=() - cur=${COMP_WORDS[COMP_CWORD]} - prev=${COMP_WORDS[COMP_CWORD-1]} - - opts="--search -s \ - --version -V \ - --help -h \ - --log-level \ - --no-colour \ - --no-color \ - --environment -E \ - --keys -k \ - --matcher -m \ - --flatten -f \ - --enabled-only -e \ - --not -n \ - --repository -r \ - --repository-format \ - --category \ - --package \ - --visible-only -v \ - --all-versions -a \ - --kind -K \ - --compact \ - --no-compact \ - --show-dependencies -D \ - --show-metadata -M" - - case "${cur}" in - -*) - COMPREPLY=($(compgen -W "${opts}" -- "${cur}")) - return 0 - ;; - *) - case "${prev}" in - ## Enum operators - --log-level) - COMPREPLY=($(compgen -W "debug qa warning silent" -- "${cur}")) - return 0 - ;; - - --matcher|-m) - COMPREPLY=($(compgen -W "text pcre exact" -- "${cur}")) - return 0 - ;; - - --repository|-r) - COMPREPLY=($(compgen -W "$(paludis --log-level silent --list-repositories |sed -n 's,^\* \(.*\),\1,p')" -- "${cur}")) - return 0 - ;; - --repository-format) - COMPREPLY=($(compgen -W "$(paludis --log-level silent --list-repository-formats |sed -n 's,^\* \(.*\),\1,p')" -- "${cur}")) - return 0 - ;; - --category) - COMPREPLY=($(compgen -W "$(paludis --log-level silent --list-categories |sed -n 's,^\* \(.*\),\1,p')" -- "${cur}")) - return 0 - ;; - --kind|-K) - COMPREPLY=($(compgen -W "installable installed all" -- "${cur}")) - return 0 - ;; - - esac - ;; - esac -} -complete -F _inquisitio inquisitio |