PageRenderTime 122ms CodeModel.GetById 81ms app.highlight 0ms RepoModel.GetById 40ms app.codeStats 0ms

/bash_completion_lib/complete/list_lists

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