added .bashrc.local
refactoring .mac.bashrc