summaryrefslogblamecommitdiffstats
path: root/bash-completion/mesg
blob: 62c98ca29bb1036fe386cacc849aee19c46b82b5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                        
_mesg_module()
{
	local cur OPTS
	COMPREPLY=()
	cur="${COMP_WORDS[COMP_CWORD]}"
	case $cur in
		-*)
			OPTS="-v --verbose -V --version -h --help"
			COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
			return 0
			;;
	esac
	COMPREPLY=( $(compgen -W "y n" -- $cur) )
	return 0
}
complete -F _mesg_module mesg