Bug 72512
Summary: | bash completion regression for directories buggy | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | franz.sirl-kernel |
Component: | bash | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | jorton, oberon, olivier.baudron, rth |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-01-27 09:01:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
franz.sirl-kernel
2002-08-24 19:47:31 UTC
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 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 |