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

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

    [[ $prev == -V ]] && return

    if [[ $cur == -* ]]; then
        COMPREPLY=( $( compgen -W '-V' -- "$cur" ) )
    else
        _pids
    fi
} &&
complete -F _pwdx pwdx

# ex: ts=4 sw=4 et filetype=sh