retitle 647352 ssh completion only completes first two hosts per line of known_hosts thanks
On Wed, 2011-11-02 at 12:34 +0800, Paul Wise wrote:
> I am unable to complete 'ssh alio' when my hosts file contains special
> characters before the alioth alias. It works when I put the special
> characters at the end though. The / and + are for jumping through
> different kinds of ssh jumphosts[1].
Turns out that this is because of this line in /etc/bash_completion:
/^\s*[^|\#]/ {for (i=1; i<=2; ++i) { \
When I changed the 2 to 20 my issue was resolved.
--
bye,
pabs
http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

