Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] bash completion in gnome/tty vs kde and xterm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
luscinius
n00b
n00b


Joined: 17 Jul 2008
Posts: 63

PostPosted: Mon Jul 20, 2009 2:31 am    Post subject: [SOLVED] bash completion in gnome/tty vs kde and xterm Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum