emacs: more robust on new systems
inputrc, bash_profile: improve history and history navigation