Refactor bashrc