summaryrefslogtreecommitdiffstats
path: root/completions/yum-arch
blob: 883c77e14ca5569fc8c270ae99368fe29ff45281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# yum-arch(8) completion                                   -*- shell-script -*-

_yum_arch()
{
    local cur prev words cword
    _init_completion || return

    if [[ $cur == -* ]]; then
        COMPREPLY=($(compgen -W '-d -v -vv -n -c -z -s -l -q' -- "$cur"))
    else
        _filedir -d
    fi
} &&
    complete -F _yum_arch yum-arch

# ex: filetype=sh