# pwd(1) completion -*- shell-script -*- proc _pwd { local cur prev words cword _init_completion || return match $prev { with --help|--version return } setglobal COMPREPLY = ''( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) [[ $COMPREPLY ]] || \ setglobal COMPREPLY = ''( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) ) } && complete -F _pwd pwd # ex: ts=4 sw=4 et filetype=sh