Add history search like my inputrc