add history navigation keys for gnome-terminal
add foward history search