summaryrefslogtreecommitdiff
path: root/completions/monodevelop
blob: 50cf5784ab8e6ba406a7dce128370ef84051abec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# monodevelop completion

_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

# Local variables:
# mode: shell-script
# sh-basic-offset: 4
# sh-indent-comment: t
# indent-tabs-mode: nil
# End:
# ex: ts=4 sw=4 et filetype=sh