bash profile refactoring