I am looking for a way to make it so that my ubuntu bash shell has the same kind of history completion as you get with csh in FreeBSD.
The behavior is that on the command line if i start to type something, and hit the up/down arrow, the history is searched for commands that started with what I have started typing
for example, if history contained
1 ls -al
2 yes
3 ls -altr
4 ls
5 history
and i type ls
and hit the up/down arrow, it would cycle through ls
ls -al
and ls -altr
How can i implement the same behaviour in ubuntu bash?