[Bash-completion-commits] [SCM] bash-completion branch, master, updated. eced7126a30bb62c49924f0b2dc61f0131317c00
Guillaume Rousse
guillomovitch at zarb.org
Sun May 17 20:13:17 UTC 2009
The following commit has been merged in the master branch:
commit 9188e5396ee3018aa177c106737002f94b53327d
Author: Guillaume Rousse <guillomovitch at zarb.org>
Date: Sun May 17 21:51:44 2009 +0200
minicom completion has been splitted already
diff --git a/bash_completion b/bash_completion
index 2afcc9c..5dbca5d 100644
--- a/bash_completion
+++ b/bash_completion
@@ -8478,43 +8478,6 @@ _invoke_rc_d()
} &&
complete -F _invoke_rc_d invoke-rc.d
-# minicom(1) completion
-#
-have minicom &&
-_minicom()
-{
- local cur prev
-
- COMPREPLY=()
- cur=`_get_cword`
- prev=${COMP_WORDS[COMP_CWORD-1]}
-
- case $prev in
- -@(a|c))
- COMPREPLY=( $( compgen -W 'on off' -- $cur ) )
- return 0
- ;;
- -@(S|C))
- _filedir
- return 0
- ;;
- -P)
- COMPREPLY=( $( command ls /dev/tty* ) )
- COMPREPLY=( $( compgen -W '${COMPREPLY[@]} ${COMPREPLY[@]#/dev/}' -- $cur ) )
- return 0
- ;;
- esac
-
-
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '-s -o -m -M -z -l -L -w -a -t \
- -c -S -d -p -C -T -8' -- $cur ) )
- else
- COMPREPLY=( $( command ls /etc/minicom/minirc.* 2>/dev/null | sed -e 's|/etc/minicom/minirc.||' | grep "^$cur" ) )
- fi
-} &&
-complete -F _minicom minicom
-
have rrdtool &&
_rrdtool ()
{
--
bash-completion
More information about the Bash-completion-commits
mailing list