21 lines
472 B
Bash
21 lines
472 B
Bash
# monodevelop completion -*- shell-script -*-
|
|
|
|
_monodevelop()
|
|
{
|
|
local cur prev words cword split
|
|
_init_completion -s || return
|
|
|
|
$split && return
|
|
|
|
if [[ "$cur" == -* ]]; then
|
|
COMPREPLY=( $( compgen -W '$( _parse_help "$1" -h )' -- "$cur" ) )
|
|
[[ $COMPREPLY == *= ]] && compopt -o nospace
|
|
else
|
|
_filedir
|
|
fi
|
|
return 0
|
|
} &&
|
|
complete -F _monodevelop monodevelop
|
|
|
|
# ex: ts=4 sw=4 et filetype=sh
|