bashrc refactor