From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020815 Description of problem: Since a short while bash directory completion is broken, it doesn't attach the / at the end anymore. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. # cd /usr 2. # ./bi<TAB> 3. Actual Results: This will give you: "# ./bin " Expected Results: I expect (and it was this way until recently): "# ./bin/" Additional info:
This "feature" was introduced in bash-2.05b-alpha1. In bash-2.05b/CHANGES: i. Fixed the command name completion code so a slash is no longer appended to a single match if there happens to be a directory with that name in $PWD. I hope this will be reverted.
Ah, this brought me on the right track, somehow I thought this was a RH specific bug, but it is generic. Searching Google revealed this patch on the bug-bash list: http://www.geocrawler.com/lists/3/GNU/342/0/9185278/ I tried it and it works fine for me.
Should be fixed in bash-2.05b-6.
*** Bug 76869 has been marked as a duplicate of this bug. ***
*** Bug 77535 has been marked as a duplicate of this bug. ***
If you used the patch Franz pointed to, this will still be broken. Thanks to Paul Jarc <prj.edu>: Derek Robert Price <derek> wrote: > Tab completion now inserts spaces after directory names rather than slashes > to allow for further path specification. > > Was this an intentional change or a bug? It's a bug, partially fixed by patch bash205b-003. This patch fixes cases that start with "~", ".", or "/". Other cases, like foo/bar<TAB> without a leading "./", still get a space appended. paul
Confirmed.
*** Bug 77796 has been marked as a duplicate of this bug. ***
*** Bug 78037 has been marked as a duplicate of this bug. ***
Still bronken in Phoebe.
Please try 2.05b-16, which will shortly appear in rawhide.
*** Bug 84058 has been marked as a duplicate of this bug. ***
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2003-140.html
I wonder why this bug is closed, if one variant of it (see comment #6) # subdir/subd[TAB] # subdir/subdir[SPACE]_ instead of # subdir/subdir/_ is still present (at least in 2.05b-r9) Tobias
In 3.00.16 it seems to be fixed. Tobias