summaryrefslogtreecommitdiffstats
path: root/completions/monodevelop
blob: 6e60bfe6c89f161bb57b9b2d996c72f80318592b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# monodevelop completion                                   -*- shell-script -*-

_comp_cmd_monodevelop()
{
    local cur prev words cword was_split comp_args
    _comp_initialize -s -- "$@" || return

    [[ $was_split ]] && return

    if [[ $cur == -* ]]; then
        _comp_compgen_help -- -h
        [[ ${COMPREPLY-} == *= ]] && compopt -o nospace
    else
        _comp_compgen_filedir
    fi
} &&
    complete -F _comp_cmd_monodevelop monodevelop

# ex: filetype=sh