PageRenderTime 74ms CodeModel.GetById 71ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/bash_completion_lib/complete/rmlist

http://github.com/brinkman83/bashrc
#! | 20 lines | 14 code | 6 blank | 0 comment | 0 complexity | 56b37112def96fd9862533283bf7061e MD5 | raw file
 1# Mailman completion by Guillaume Rousse <rousse@ccr.jussieu.fr>
 2
 3
 4comp_include _get_cword _mailman_lists
 5
 6
 7_rmlist()
 8{
 9	local cur
10
11	COMPREPLY=()
12	cur=`_get_cword`
13
14	if [[ "$cur" == -* ]]; then
15		COMPREPLY=( $( compgen -W '--archives -a \
16			-h --help' -- $cur ) )
17	else
18		_mailman_lists
19	fi
20} # _rmlist()