[bash] Add hist function to search history