21 lines
381 B
Bash
21 lines
381 B
Bash
# lftpget(1) completion
|
|
|
|
_lftpget()
|
|
{
|
|
local cur prev words cword
|
|
_init_completion || return
|
|
|
|
if [[ "$cur" == -* ]] ; then
|
|
COMPREPLY=( $( compgen -W '-c -d -v' -- "$cur" ) )
|
|
fi
|
|
} &&
|
|
complete -F _lftpget lftpget
|
|
|
|
# Local variables:
|
|
# mode: shell-script
|
|
# sh-basic-offset: 4
|
|
# sh-indent-comment: t
|
|
# indent-tabs-mode: nil
|
|
# End:
|
|
# ex: ts=4 sw=4 et filetype=sh
|