Search through bash history with arrow keys