[Bash-completion-devel] Bug#587095: no longer does ~username completion
Marcin Szewczyk
marcin.s.szewczyk at gmail.com
Thu Jan 20 09:51:35 UTC 2011
On Sun, Jan 16, 2011 at 02:37:38PM +0100, Mirosław Zalewski wrote:
> $ ~ro<tab> # does work just fine - it gets completed into ~root
> $ ls ~ro<tab> # something is wrong here. You can press <tab> to your
> death, and it won't get completed
>
> So it does work, but not when completing argument for command (what
> perhaps most users would want to do).
Probably it's due to a change between
e5a9b6220e93ca656fd9774c6aefa78241edca6f and
f9748115fb4b2950fb4df7535fb723c4affde078 commits in the repo[1]. In
particular some changes to the bash_completion file.
Earlier in the _filedir there was:
_expand || return 0
now it looks like this:
__expand_tilde_by_ref cur
I would like to propose a patch (attached).
[1] git://git.debian.org/git/bash-completion/debian.git
--
Marcin Szewczyk http://wodny.org
mailto:Marcin.Szewczyk at wodny.borg <- remove b / usuń b
xmpp:wodny at ubuntu.pl xmpp:wodny at jabster.pl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bash_completion.diff
Type: text/x-diff
Size: 698 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20110120/55980371/attachment.diff>
More information about the Bash-completion-devel
mailing list