1
# bash completion for lftp
9
_get_comp_words_by_ref cur prev
16
-c|-h|--help|-v|--version|-e|-u|-p)
21
if [[ "$cur" == -* ]] ; then
22
COMPREPLY=( $( compgen -W '-f -c --help --version -e -u -p' \
27
COMPREPLY=( $( compgen -W \
28
'$( cut -f 1 -s ~/.lftp/bookmarks 2>/dev/null )' -- "$cur" ) )
29
_known_hosts_real "$cur"
31
complete -F _lftp lftp
38
_get_comp_words_by_ref cur
40
if [[ "$cur" == -* ]] ; then
41
COMPREPLY=( $( compgen -W '-c -d -v' -- "$cur" ) )
44
complete -F _lftpget lftpget
49
# sh-indent-comment: t
50
# indent-tabs-mode: nil
52
# ex: ts=4 sw=4 et filetype=sh