luscinius n00b

Joined: 17 Jul 2008 Posts: 63
|
Posted: Mon Jul 20, 2009 2:31 am Post subject: [SOLVED] bash completion in gnome/tty vs kde and xterm |
|
|
Hi
I use the stable branch with gnome, and some kde programs, like yakuake.
I have the gentoo-bashcomp package installed.
The problem is that gentoo-specific bash completions (emerge, equery, eselect ...)
do not work in Yakuake (as well as Konsole and even the plain xtem);
though they do work in the plain console (accessed by alt-ctrl-f1 etc) and the gnome-terminal.
Given that the problem shows itself in a plain xterm, it is not something specific to KDE only.
The standard completions seem to work everywhere.
Thanks for any help
EDIT: There is a line in bashrc,
Code: | [[ -f /etc/profile.d/bash-completion ]] && source /etc/profile.d/bash-completion |
For some reason the script is bash-completion.sh (with extension), and that is why it was not working.
The correct thing is
Code: | [[ -f /etc/profile.d/bash-completion.sh ]] && source /etc/profile.d/bash-completion.sh |
Still unclear why it worked in gnome/tty... --- probably, they somehow source it some other way. |
|