summaryrefslogtreecommitdiffstats
path: root/completions/cardctl
blob: 222f7b1a663bf0d9ded87d24998be73c5d1046b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Linux cardctl(8) completion                              -*- shell-script -*-

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

    if ((cword == 1)); then
        _comp_compgen -- -W 'status config ident suspend resume reset eject
            insert scheme'
    fi
} &&
    complete -F _comp_cmd_cardctl cardctl pccardctl

# ex: filetype=sh