Refactor .bashrc