[NB4770] Separate enviroment variables into bash_aliases and profile
[NB4770] Restore and fix .emacs