On 091120 15:13, gibbo...@gmail.com wrote: > Should this go into _known_hosts_real ? _known_host_netrc ? ${1} or
SIDE NOTE: If all agree `_known_hosts_real' gets renamed to `__known_hosts'? That said, I'd rather have a separate `__hosts_netrc' and keep `_known_hosts_real' for completing commands who really use ssh's `known_hosts' files. I'm confused whether all commands who access hosts can be treated the same? Right now we gather hostnames from different locations: - compgen -A hostname (using $HOSTFILE) - ssh known_hosts files - avahi-browse - .netrc and seem to present them to all commands asking for hostnames. I can image not every command can cope with all hostnames? Or am I thinking too complicated? E.g. can `xhost' really cope with all hostnames/aliases extracted from ssh's known_host files? Anyway, that's why I think separate __hosts_... functions, being easy to chain differently in different situations, would be a better choice. Regards, Freddy Vulto http://fvue.nl _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel