Red Hat Bugzilla – Bug 826959
Last modified: 2012-05-31 10:51:06 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):
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
Hostname does not complete
The /etc/bash_completion file is referenced by all (new) user's ~/.bashrc file.
(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
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.