bash auto completion
jonrysh at pacbell.net
Fri Jul 16 19:21:40 UTC 2010
On Thu, 2010-07-15 at 21:42 -0400, Todd Zullinger wrote:
> Jonathan MERCIER wrote:
> > why default bahrc do not contain all file in /etc/bash_completion.d ?
> > me i add in bashrc:
> > for file in /etc/bash_completion.d/*; do . $file; done
> > instead . /etc/bash_compeltion => because do not works file do not
> > exist!
> This question is probably better suited the the users list¹.
> But, I'm going to guess that you don't have the bash-completion
> package installed. That is what provides /etc/bash_completion.
> ¹ https://admin.fedoraproject.org/mailman/listinfo/users/
I don't think this is quite true, since it looks like the contents
of /etc/bash_completion.d are installed by various RPMs. Maybe this is
what's causing confusion.
$ rpm -qf /etc/bash_completion.d
In more detail:
$ for i in /etc/bash_completion.d/*; do echo $i; rpm -qf $i;
More information about the devel