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

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

    if [[ $cur == -* ]]; then
        _comp_compgen -- -W '-d -v -vv -n -c -z -s -l -q'
    else
        _comp_compgen_filedir -d
    fi
} &&
    complete -F _comp_cmd_yum_arch yum-arch

# ex: filetype=sh