changeset 6 | c853cc971b78 |
child 8 | 5e9d46863588 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/completion.bash Wed Dec 07 05:14:27 2005 +0000 @@ -0,0 +1,14 @@ +# $Id$ +# $URL$ +# © 2005 Heiko Schlittermann +complete -F _ma ma +function _ma() { + local cur=${COMP_WORDS[COMP_CWORD]} + local pre=${COMP_WORDS[COMP_CWORD - 1]} + case "$COMP_CWORD" in + 1) COMPREPLY=($(compgen -W "account alias shared" -- $cur));; + 2) COMPREPLY=($(compgen -W "--add --del --list --mod" -- $cur));; + esac +} + +# vim:sts=4 sw=4 aw ai sm: