18 lines
357 B
Bash
18 lines
357 B
Bash
# pwck(8) completion -*- shell-script -*-
|
|
|
|
_pwck()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
if [[ "$cur" == -* ]]; then
|
|
COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
|
|
return 0
|
|
fi
|
|
|
|
_filedir
|
|
} &&
|
|
complete -F _pwck pwck
|
|
|
|
# ex: ts=4 sw=4 et filetype=sh
|