[Bash-completion-devel] scp remote path completion broken?

David Paleino d.paleino at gmail.com
Sun Sep 6 09:25:38 UTC 2009


On Sun, 6 Sep 2009 10:44:48 +0200, Freddy Vulto wrote:

> It looks like processing argument $1 has been dropped from
> _get_cword() in commit: f6497298 "fixed _get_cword()" (2008-06-23),
> coming from Ubuntu.  David, can you recall what this fixed?

Bah, no I can't, I MUST learn to write more verbose commit messages, DAMN! :(

> Using the original _get_cword fixes the problem.
> 
> I looks we should move the `WORDBREAKS' code back into _get_cword,
> or restore the original?

Or maybe adding an if -n "${bash4}", and keeping both codes?
We should check whether with the old code it works on bash3. However, I don't
really remember what it fixed.

Sorry for being of totally no help.
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20090906/056b6c04/attachment.pgp>


More information about the Bash-completion-devel mailing list