Refactor bashrc/bash_profile.