aboutsummaryrefslogtreecommitdiff
path: root/bash-completion
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-10-18 23:00:43 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-10-18 23:29:01 +0100
commitac86126021eb6d07bdabfcac086d62f6f4da3c23 (patch)
treea7fa6609b17b49746b8e668225aefa6996570522 /bash-completion
parent9e50013b9b8fac27a1cc4bbef78077d111164a59 (diff)
downloadpaludis-ac86126021eb6d07bdabfcac086d62f6f4da3c23.tar.gz
paludis-ac86126021eb6d07bdabfcac086d62f6f4da3c23.tar.xz
Kill contrarius, gtkpaludis, AdaptedEnvironment
Diffstat (limited to 'bash-completion')
-rw-r--r--bash-completion/Makefile.am2
-rw-r--r--bash-completion/contrarius61
2 files changed, 1 insertions, 62 deletions
diff --git a/bash-completion/Makefile.am b/bash-completion/Makefile.am
index be1e73619..2e74f1009 100644
--- a/bash-completion/Makefile.am
+++ b/bash-completion/Makefile.am
@@ -1,6 +1,6 @@
MAINTAINERCLEANFILES = Makefile.in
noinst_DATA = paludis adjutrix qualudis \
- contrarius inquisitio \
+ inquisitio \
accerso instruo reconcilio \
importare
EXTRA_DIST = $(noinst_DATA)
diff --git a/bash-completion/contrarius b/bash-completion/contrarius
deleted file mode 100644
index 97233e7ea..000000000
--- a/bash-completion/contrarius
+++ /dev/null
@@ -1,61 +0,0 @@
-# Bash completion function for contrarius
-# 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.
-
-_contrarius() {
- local cur prev opts
- COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]}
- prev=${COMP_WORDS[COMP_CWORD-1]}
-
- opts="--version -V \
- --help -h \
- --fetch -f \
- --pretend -p \
- --environment -E \
- --show-reasons \
- --stage -s \
- --target -t \
- --headers -H \
- --always-rebuild -r \
- --debug-build \
- --verbose -v \
- --log-level -L \
- --no-colour -C \
- --no-color \
- --resume-command-template"
-
- case "${cur}" in
- -*)
- COMPREPLY=($(compgen -W "${opts}" -- "${cur}"))
- return 0
- ;;
- *)
- case "${prev}" in
- ## Enum operators
- --log-level|-L)
- COMPREPLY=($(compgen -W "debug qa warning silent" -- "${cur}"))
- return 0
- ;;
-
- --show-reasons)
- COMPREPLY=($(compgen -W "none summary full" -- "${cur}"))
- return 0
- ;;
- --stage|-s)
- COMPREPLY=($(compgen -W "binutils minimal headers libc full" -- "${cur}"))
- return 0
- ;;
- --debug-build)
- COMPREPLY=($(compgen -W "none split internal" -- "${cur}"))
- return 0
- ;;
-
- esac
- ;;
- esac
-}
-complete -F _contrarius contrarius