Added function to search the bash history