**** Merged from MCS ****
[mono-project.git] / mcs / tools / monop / monop-completion.sh
blobe7691ec41e727356bd52388cce04c73fa1a4dd4f
1 # function for monop bash completion, source it from other scripts like .bashrc
3 completion_monop()
5 local sw
6 cur=${COMP_WORDS[COMP_CWORD]}
7 [ "$cur" ] && COMPREPLY=($( compgen -W "`monop -c ${cur}`" -- $cur ))
9 complete -F completion_monop monop