mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-01-09 20:33:34 -08:00
19 lines
386 B
Bash
19 lines
386 B
Bash
# pwck(8) completion -*- shell-script -*-
|
|
|
|
_pwck()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
if [[ $cur == -* ]]; then
|
|
local opts=$(_parse_help "$1")
|
|
COMPREPLY=($(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur"))
|
|
return
|
|
fi
|
|
|
|
_filedir
|
|
} &&
|
|
complete -F _pwck pwck
|
|
|
|
# ex: filetype=sh
|