Bugs item #312613, was changed at 2010-06-28 20:12 by Ville Skyttä 
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312613&group_id=100114

>Status: Open
Priority: 3
Submitted By: Ville Skyttä  (scop-guest)
Assigned to: Freddy Vulto (fvu-guest)
Summary: DBTS 587095: no longer does ~username completion 
Distribution: --Distribution-Agnostic--
Originally reported in: Debian BTS
Milestone: None
Status: None
Original bug number: 587095


Initial Comment:
From Debian #587095:

> Since the most recent upload in sid, bash-completion does no longer to
> ~username completion (to homedirectories).

Simple test case: ls ~<TAB>

Looks like this was broken in commit c9c98da36edeb9305e24e7ea2d8ccf8b0934ce70. 
Freddy, it was committed by you, could you have a look?

----------------------------------------------------------------------

>Comment By: Ville Skyttä  (scop-guest)
Date: 2010-07-01 20:19

Message:
The fix does not seem quite complete, it causes a test suite failure (ls.exp) 
for me with bash 4.1.7.  My dbg.log for it is attached.

$ ls ~<TAB>
~abrt/          ~avahi-autoipd  ~ftp            ~halt/          ~mysql/         
~ntp/           ~root/          ~saslauth       ~smolt/         ~usbmuxd/       
~adm            ~bin/           ~games/         ~lp/            ~nfsnobody/     
~openvpn/       ~rpc/           ~scop/          ~sshd/          ~uucp           
~apache/        ~daemon/        ~gopher         ~mail/          ~nobody/        
~operator/      ~rpcuser/       ~shutdown/      ~sync/          ~vcsa/          
~avahi/         ~dbus/          ~haldaemon/     ~mailnull       ~nscd/          
~pulse          ~rtkit/         ~smmsp          ~tcpdump/       

Notice how the ~adm, ~avahi-autoipd, ~ftp, ~gopher, ~mailnull, ~pulse, 
~saslauth, ~smmsp, and ~uucp entries lack the trailing slash.  And they 
actually complete to those strings instead of the dirs. On a brief look it 
seems that this happens for users whose home dirs don't exist. Not sure if 
there's anything that can be sanely done about that, but IMO the test suite 
shouldn't fail.

----------------------------------------------------------------------

Comment By: Freddy Vulto (fvu-guest)
Date: 2010-07-01 00:29

Message:
Fixed in commit ccbf141: Fix tilde (~) completion with _filedir


----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312613&group_id=100114

_______________________________________________
Bash-completion-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to