moving history search to bash files, rather than inputrc