Bug 77796 - Tab completion on directories in bash incorrect
Tab completion on directories in bash incorrect
Status: CLOSED DUPLICATE of bug 72512
Product: Red Hat Linux
Classification: Retired
Component: bash (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-13 13:53 EST by Cort Dougan
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-11-14 03:42:13 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Cort Dougan 2002-11-13 13:53:50 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021017

Description of problem:
mkdir foodir
touch foodir/exec
chmod 755 foodir/exec
./foodir<TAB>
and you'll get "./foodir "
The extra space is incorrect since I'm wanting to execute
"./foodir/exec"

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.
2.mkdir foodir
touch foodir/exec
chmod 755 foodir/exec
./foodir<TAB>
and you'll get "./foodir "
The extra space is incorrect since I'm wanting to execute
"./foodir/exec"
3.
	

Additional info:
Comment 1 Michael Lee Yohe 2002-11-13 15:19:16 EST
The path listing isn't updated if you sit in the directory.  If you change to
another directory and then back to the parent directory of foodir - bash will
have updated the tree so that tab completion can work properly. 
mkdir/touch/chmod are not internal to bash and have no conduit of letting bash
know that the directory listing was updated.
Comment 2 Ben Levenson 2002-11-13 20:10:21 EST

*** This bug has been marked as a duplicate of 72512 ***
Comment 3 Tim Waugh 2002-11-14 03:43:48 EST
(Oops, shouldn't have re-opened).

*** This bug has been marked as a duplicate of 72512 ***

Note You need to log in before you can comment on or make changes to this bug.