2011-10-12 23:01:10 +03:00
|
|
|
# monodevelop completion
|
2009-10-01 20:54:51 +03:00
|
|
|
|
2008-11-25 15:14:27 +01:00
|
|
|
_monodevelop()
|
|
|
|
{
|
2011-05-15 15:55:59 +03:00
|
|
|
local cur prev words cword split
|
|
|
|
_init_completion -s || return
|
|
|
|
|
|
|
|
$split && return
|
2009-07-25 13:38:42 +03:00
|
|
|
|
2009-10-04 19:42:50 +02:00
|
|
|
if [[ "$cur" == -* ]]; then
|
2011-05-15 15:55:59 +03:00
|
|
|
COMPREPLY=( $( compgen -W '$( _parse_help "$1" -h )' -- "$cur" ) )
|
|
|
|
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
2009-10-04 19:42:50 +02:00
|
|
|
else
|
|
|
|
_filedir
|
|
|
|
fi
|
|
|
|
return 0
|
2008-11-25 15:14:27 +01:00
|
|
|
} &&
|
|
|
|
complete -F _monodevelop monodevelop
|
|
|
|
|
2009-10-01 20:54:51 +03:00
|
|
|
# Local variables:
|
|
|
|
# mode: shell-script
|
2009-10-04 19:42:50 +02:00
|
|
|
# sh-basic-offset: 4
|
2009-10-01 20:54:51 +03:00
|
|
|
# sh-indent-comment: t
|
2009-10-04 19:42:50 +02:00
|
|
|
# indent-tabs-mode: nil
|
2009-10-01 20:54:51 +03:00
|
|
|
# End:
|
2009-10-04 19:42:50 +02:00
|
|
|
# ex: ts=4 sw=4 et filetype=sh
|