Mailinglist Archive: opensuse (1046 mails)

< Previous Next >
Re: [opensuse] Re: 11.4 - Where did the trailing '/' go in bash-completion for ls??
David C. Rankin wrote:
Guys,

What is wrong with the 'tab' to complete directory names in bash? eg:

OK, I've just noticed it again and a quick bit of experimentation has
determined the cause, at least on my systems.

FWIW, the system where I noticed it was Ubuntu 10.04 but I also see the
same behaviour on opensuse 11.2 now I know what to look for.

And the answer is ...

symlinks.

If the directory isn't really a directory but is a symlink to a
directory then TAB lists just the name and a second TAB adds the
trailing slash. For ordinary directories, a single TAB gets the slash.

Cheers, Dave
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References