Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bash history-completion not working anymore
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
hardloop
n00b
n00b


Joined: 13 Nov 2002
Posts: 18

PostPosted: Thu Sep 18, 2003 11:00 pm    Post subject: Bash history-completion not working anymore Reply with quote

Hi,

since I updated baselayout to 1.8.6.10-r1 yesterday, the bashcompletion with pgup and pgdn behaves differently. It should, when I type emerge and press pgup, cycle through all commands in the history that start with emerge. What it does now I don't understand. It seems like it jumps to the first cmd in the hist or randonly through the histoty I don't know.

Please help
Back to top
View user's profile Send private message
Unne
l33t
l33t


Joined: 21 Jul 2003
Posts: 616

PostPosted: Fri Sep 19, 2003 2:25 am    Post subject: Reply with quote

It changed on my computer too after emerging some system packages. Change your /etc/inputrc file to have these lines and I think it'll work again.

Code:
"\e[5~": history-search-backward
"\e[6~": history-search-forward
Back to top
View user's profile Send private message
hardloop
n00b
n00b


Joined: 13 Nov 2002
Posts: 18

PostPosted: Fri Sep 19, 2003 3:01 am    Post subject: Reply with quote

Thanks a lot, that was it!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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