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

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

    case $prev in
        --help | --version)
            return
            ;;
    esac

    _comp_compgen_usage -c help -s "$1"
} &&
    complete -F _comp_cmd_pwd pwd

# ex: filetype=sh