Bug 1982830 - bash-completion does not complete and pick files from current directory
Summary: bash-completion does not complete and pick files from current directory
Keywords:
Status: CLOSED DUPLICATE of bug 1983092
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: bash-completion
Version: 8.5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: beta
: ---
Assignee: Siteshwar Vashisht
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-15 20:00 UTC by Amogh Kulkarni
Modified: 2023-07-13 09:22 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-14 10:27:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Amogh Kulkarni 2021-07-15 20:00:53 UTC
Description of problem:
Bash autocomplete does not pick files from current directory on RHEL 8.

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

Tested on RHEL 8.4 with  bash-completion-2.7-5.el8.noarch installed version

How reproducible:

i. On RHEL 7, we can run the simple test:

~~~
# touch test.out

# echo "This is test file" >> test.out

# for i in $(cat test.out [Tab auto completes and provides the file]

# for i in $(cat test.out);do echo $i;done
~~~

For RHEL 8 this is not reproducible:

~~~
# touch test.out

# echo "This is test file" >> test.out

# for i in $(cat test.out [Tab does not auto complete and does not include the file name on terminal]
~~~


Actual results:

bash-completion should include the file name present in current directory.

Expected results:

bash-completion fails to pick up the file.

Comment 3 Siteshwar Vashisht 2021-10-14 10:27:56 UTC

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


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