View Single Post
jd4200's Avatar
Posts: 451 | Thanked: 424 times | Joined on Apr 2010 @ England
#11
I've also had this problem since the beginning, bit of a pain to have to keep executing bash from busybox.
I also find that past commands aren't always written to bash_history.

Originally Posted by juise- View Post
My favorite is Ctrl+r for 'reverse-i-search', where you can type in any part of a previous command, and the shell will look it up for you.

That alone is enough reason to install bash (to me at least). The keyboard on N900 isn't bad, but it's not great for shell bashing. Being able to easily find that difficult-to-type line is nice.

Auto-completion on remote paths is also fun, it works if you are using public keys with ssh.
If you like the reverse-search, you might like this for your bashrc:

Code:
# Searches .bash_history with up and down key
bind '"\e[A"':history-search-backward
bind '"\e[B"':history-search-forward
Type a letter or two of a command, hit up and it goes through all the ones that match.
__________________
BTC:
19ePiXZUdxqNAq9tStLzZV4dduSQeGPJzj
 

The Following User Says Thank You to jd4200 For This Useful Post: