PageRenderTime 94ms CodeModel.GetById 92ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/bash_completion_lib/complete/unshunt

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