refactoring of bashrc