[Bash-completion-devel] Bug#506973: bash-completion: soft link completion is broken

David Paleino d.paleino at gmail.com
Wed Nov 26 20:07:05 UTC 2008


tags 506973 confirmed
thanks

Hello Noah,

On Wed, 26 Nov 2008 16:00:52 +0000, Noah Slater wrote:

> [..]
> 
> Bash completion fails to account for soft links properly:
> 
>   nslater at mahora: ~ $ mkdir -p dir-a/dir-b
>   nslater at mahora: ~ $ ln -s dir-a/dir-b dir-c
>   nslater at mahora: ~ $ touch doc-a
>   nslater at mahora: ~ $ touch doc-b
>   nslater at mahora: ~ $ cd dir-c
>   nslater at mahora: ~/dir-c $ cat ../doc-
>   doc-a doc-b

This is because it considers "dir-c" as a sibling of dir-a, not as
dir-a/dir-b. :(

I don't know whether this is fixable or not. Will have a look.

Thank you for your report.

Kindly,
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






More information about the Bash-completion-devel mailing list