This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / tools / monop / monop-completion.sh
1 # function for monop bash completion, source it from other scripts like .bashrc
2
3 completion_monop()
4 {
5     local sw
6     cur=${COMP_WORDS[COMP_CWORD]}
7     [ "$cur" ] && COMPREPLY=($( compgen -W "`monop -c ${cur}`" -- $cur ))
8 }
9 complete -F completion_monop monop