diff options
Diffstat (limited to 'completions/lftpget')
-rw-r--r-- | completions/lftpget | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/completions/lftpget b/completions/lftpget new file mode 100644 index 00000000..9ed6a5c7 --- /dev/null +++ b/completions/lftpget @@ -0,0 +1,20 @@ +# 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 |