You are not logged in.
In gentoo, bash has a feature when i press page down or page up with an incomplete command written. It completes the command writing based in history.
For example:
[frost@euclides] ~ $ c
[frost@euclides] ~ $ cd
With page up i can switch between c, cd, cat, etc.
But apparently it behaves different in arch.
How can i enable this funcionality in arch?
Thanks in advance.
Last edited by Frostwarrior (2009-07-27 21:47:52)
Offline
pacman -S bash-completion
then add the following to .bashrc
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Sorry, that's not what you are asking...
try adding the following to /etc/iputrc
"\e[5~": history-search-backward
"\e[6~": history-search-forward
comment out the existing vlaues. I hope this helps.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Solved. Thanks for the info.
Last edited by Frostwarrior (2009-07-27 21:47:35)
Offline