The following commit has been merged in the master branch:
commit a1ae571cea5fc39602ec8441048735728e59b638
Author: Guillaume Rousse <[email protected]>
Date:   Mon Sep 14 21:48:03 2009 +0200

    initial import

diff --git a/Makefile.am b/Makefile.am
index bfedeff..d23e51e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -53,6 +53,7 @@ bashcomp_DATA = contrib/ant \
                contrib/imagemagick \
                contrib/info \
                contrib/iptables \
+               contrib/ipmitool \
                contrib/isql \
                contrib/jar \
                contrib/java \
diff --git a/contrib/resolvconf b/contrib/resolvconf
new file mode 100644
index 0000000..8264d76
--- /dev/null
+++ b/contrib/resolvconf
@@ -0,0 +1,26 @@
+# -*- mode: shell-script; sh-basic-offset: 8; indent-tabs-mode: t -*-
+# ex: ts=8 sw=8 noet filetype=sh
+#
+# bash completion for resolvconf
+
+have resolvconf &&
+_resolvconf()
+{
+       local cur command
+
+       COMPREPLY=()
+       cur=`_get_cword`
+       prev=${COMP_WORDS[COMP_CWORD-1]}
+
+       case $prev in
+               -@(a|d))
+                       _available_interfaces
+                       return 0
+                       ;;
+       esac
+       
+       if [[ "$cur" == -* ]]; then
+               COMPREPLY=( $( compgen -W '-a -d -u' -- $cur ) )
+       fi
+} &&
+complete -F _resolvconf resolvconf

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to