Re: weird bash autocomplete issue

Kay Sievers
2008-12-16T19:47:22Z

On Tue, Dec 16, 2008 at 20:37, Roland <devzero@web.de> wrote:
> i have come across a weird autocomplete issue i assume it is related to
> btrfs.
>
> let`s have some dirs:
>
> /non-btrfs-mount
> ./linux
> ./testdir
>
> /brtfs-mount
> ./linux
> ./testdir
>
> now, if i do "cd t<tab>" in /non-btrfs-mount, "t" autocompletes to "testdir"
> same for l<tab>inux - bash autocompletes as expected.
>
> now, the weird thing is, that on /btrfs-mount this behaves different.
>
> autocompletion for testdir works, but not for linux dir. weird.
>
> can someone reproduce this ?

Open another shell, find the bash process pid of the first shell with:
ps afx
and do:
strace -p <pid>
Go back to the first shell, hit <tab>, and the trace should show
what's going on. You see a significant difference there?

Kay