Bug 826959 - missing /etc/bash_completion
missing /etc/bash_completion
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: bash-completion (Show other bugs)
17
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ville Skyttä
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-31 06:10 EDT by Leon Keijser
Modified: 2012-05-31 10:51 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-31 10:51:06 EDT
Type: Bug
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 Leon Keijser 2012-05-31 06:10:24 EDT
Description of problem:
When enabling other bash completions by creating a symlink from /etc/bash_completion.d/ to /usr/share/bash_completion/completions/* certain functions get called that aren't available.

Version-Release number of selected component (if applicable):
bash-completion-1.99-1.fc17.noarch

How reproducible:
Create a symlink for ssh completion

Steps to Reproduce:
1. become root. Add a host to ~/.ssh/config
2. ln -s /usr/share/bash_completion/completions/ssh /etc/bash_completion.d/ssh
3. ssh <part of host in ~/.ssh/config> + TAB
 
Actual results:
Hostname does not complete

Expected results:
Hostname completes

Additional info:
The /etc/bash_completion file is referenced by all (new) user's ~/.bashrc file.
Comment 1 Ville Skyttä 2012-05-31 10:51:06 EDT
(In reply to comment #0)
> When enabling other bash completions by creating a symlink from
> /etc/bash_completion.d/ to /usr/share/bash_completion/completions/*

That's unsupported and should not be needed.

> The /etc/bash_completion file is referenced by all (new) user's ~/.bashrc
> file.

Not in Fedora's default config nor has been AFAIK; /etc/profile.d/bash_completion.sh loads bash_completion automatically when appropriate, and completions are loaded on demand from /usr/share/bash_completion/completions in bash-completion > 1.90.

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