2011-11-01 22:14:45 +02:00
|
|
|
# mailman list_admins completion -*- shell-script -*-
|
2011-10-22 12:49:31 +03:00
|
|
|
|
|
|
|
_list_admins()
|
|
|
|
{
|
|
|
|
local cur prev words cword
|
|
|
|
_init_completion || return
|
|
|
|
|
|
|
|
if [[ "$cur" == -* ]]; then
|
|
|
|
COMPREPLY=( $( compgen -W '--all-vhost --all --help' -- "$cur" ) )
|
|
|
|
else
|
|
|
|
_xfunc list_lists _mailman_lists
|
|
|
|
fi
|
|
|
|
|
|
|
|
} &&
|
|
|
|
complete -F _list_admins list_admins
|
|
|
|
|
|
|
|
# ex: ts=4 sw=4 et filetype=sh
|