2011-11-01 22:14:45 +02:00
|
|
|
# monodevelop completion -*- shell-script -*-
|
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-04 19:42:50 +02:00
|
|
|
# ex: ts=4 sw=4 et filetype=sh
|