Hi,
all those precited commands use the .netrc file if it exists.
I would like to have some support for it.
Kind of :

[[ -r $HOME/.netrc ]] && \
   netrc_hosts=( $(compgen -W "$(sed -n 's/.*[[:blank:] ]*machine \([^ 
[:blank:]]*\).*/\1/p' $HOME/.netrc)" -- "${cur:-1}") ) && \
   COMPREPLY=( "${comprep...@]}" ${netrc_hos...@]} )

Should this go into _known_hosts_real ? _known_host_netrc ? ${1} or
only been appended between ~/.lftp/bookmarks and _known_hosts_real in lftp 
${cur} ?

Note, there is not (yet?) completion for curl,fetchmail,msmtp and my patch for 
the wget completion
was misleading about the use of this file (I'll correct that).
So it's only really missing for ftp,lftp and sitecopy completions.

Raph

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to