> > But I've *guessed* something else:
> > 
> > $ umount <tab>
> > # list the entries including /home/me/private
> > $ cd /home/me
> > $ umount pri<tab>
> > # list pri* with filedir -d instead of "private" only
> 
> I've tried to fix this: 
> http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commit;h=7a1a3da08a77de2952b75dc514fa962d874c5c95
> This is not a real fix, you still won't be able to do something like:
> 
>  $ umount ../mountpoint
> 
> but umount should work for current directory now. Real fix requires somewhat 
> intrusive changes and I'm not sure I can do it without breaking something :)

Fixed in: 
http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commit;h=54bcdff3cf7e7e40f7ae0f4f20b53287653aa233
Now even crazy things work:

 $ pwd
 /home
 $ umount ../dev//disk/../sd<TAB>
 ../dev//disk/../sda1  ../dev//disk/../sda4  
 ../dev//disk/../sda3  ../dev//disk/../sdb1  
 $ umount ../dev//disk/../sd


-- Igor

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to