generalize opening of .bash_history