summaryrefslogtreecommitdiffstats
path: root/completions/e2label
blob: 456907c3533dfb0cca7c8759c7902bdb2f183da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# e2label(8) completion                                    -*- shell-script -*-

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

    if ((cword == 1)); then
        _comp_compgen -c "${cur:-/dev/}" filedir
    fi
} &&
    complete -F _comp_cmd_e2label e2label

# ex: filetype=sh