Using cd ~/ results in / and // entries for all directories

Hi all,

Since I updated from 11.2 to 11.4 an annoying bug seems to have crept into the shell.

If I type the following and hit tab I get:
cd ~/.kde
.kde/ .kde// .kde4/ .kde4//

i.e. each directory has a / and // version for some reason. I have to enter a / and hit tab again to proceed.

If however I type the following and hit tab I get:
cd /home/tux/.kde
.kde/ .kde4/

i.e. correct as expected.

The ls command does not do this.

This seems like a bug. Any ideas on how prevent this?

Many thanks!

GNU bash, version 4.1.10(1)-release (x86_64-suse-linux-gnu)
openSUSE 11.4 (x86_64)
VERSION = 11.4
CODENAME = Celadon
Linux 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux

euromonkey wrote:
> Hi all,
>
> Since I updated from 11.2 to 11.4 an annoying bug seems to have crept
> into the shell.
>
> If I type the following and hit tab I get:
> cd ~/.kde
> .kde/ .kde// .kde4/ .kde4//
>
> i.e. each directory has a / and // version for some reason. I have to
> enter a / and hit tab again to proceed.
>
> If however I type the following and hit tab I get:
> cd /home/tux/.kde
> .kde/ .kde4/
>
> i.e. correct as expected.
>
> The ls command does not do this.

What does ls -l show?

I’ve seen similar symptoms if the directories are actually symlinks.

They are normal directories. No symlinks.

drwx------ 3 tux users 4096 Apr 26 13:43 .kde
drwx------ 8 tux users 4096 Apr 26 13:42 .kde4