[Mono-list] bash completion for mono
Paolo Molaro
lupus@ximian.com
Thu, 5 Sep 2002 13:25:12 +0200
I wrote a simple completion handler for use with bash:
just add the following to your bash init script (usually .bashrc)
and TAB completion will select exe files when used for arguments of mono
and mint.
== cut cut ==
_mono ()
{
COMPREPLY=( $( compgen -G '*.exe' ))
return 0
}
complete -F _mono mono
complete -F _mono mint
== cut cut ==
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better