search through bash history with up and down arrows