summaryrefslogtreecommitdiff
path: root/completions/monodevelop
blob: 4aa213b7b941019c2fda11271f12dcf94739adb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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
} &&
complete -F _monodevelop monodevelop

# ex: filetype=sh