Add history searching from command line (with arrows)