Refactor env and aliaes in .bashrc.