bashrc history handling