I tried "scp Som<tab>" where "SomeFile.txt" exists, and got an error message: "bash: _known_hosts_real: command not found" I'm not sure if this is in gentoo or is upstream. Reproducible: Always
Hi, can you please report the involved (open)ssh and bash versions? Thanks
$ equery l bash openssh * Searching for bash ... [IP-] [ ] app-shells/bash-4.1_p7:0 * Searching for openssh ... [IP-] [ ] net-misc/openssh-5.5_p1-r2:0
Did you enable the base module too? /usr/share/bash-completion/base:_known_hosts_real()
No, I didn't. But why isn't that added automatically when I select a bash completion that needs it?
It is needed for just about everything. I've been thinking about ways to make it always enabled but it hasn't worked out for now. Please don't reopen the bug, it is on my mind but not going to happen for awhile.
(In reply to comment #4) > No, I didn't. But why isn't that added automatically when I select a bash > completion that needs it? > Oh, by the way. There is no dependancy concept for completion modules. Upstream suggests to just enable them all, other distros do that too, Gentoo hasn't gone that route in an effort to be smarter. This was done before I started taking care of bash-completion package. I think it has to do with login shell loading time mainly. Here is some more information if you want to help out upstream. http://wiki.debian.org/Teams/BashCompletion/Proposals/NewDirectoryLayout