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

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

    if [[ $cur == -* ]]; then
        _comp_compgen_usage
        return
    fi

    _comp_compgen_filedir
} &&
    complete -F _comp_cmd_filefrag filefrag

# ex: filetype=sh