added functions for searching bash history