add bash history functionality