brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| // tries to execute the uri:scheme | |
| function uriSchemeWithHyperlinkFallback(uri, href) { | |
| // set up a timer and start it | |
| var start = new Date().getTime(), | |
| end, | |
| elapsed; | |
| // attempt to redirect to the uri:scheme | |
| // the lovely thing about javascript is that it's single threadded. | |
| // if this WORKS, it'll stutter for a split second, causing the timer to be off |
| # READ MORE HERE: http://www.webdevotion.be/blog/2012/06/06/terminal-git-branch-status-colored-icons | |
| # ============================================================================== | |
| # FANCY GIT STATUS ICONS | |
| # ============================================================================== | |
| # SOME VARIABLES in capitals | |
| # no whitespace between variable names and = sign! | |
| COLOR_RESET="\e[00m" | |
| COLOR_GREEN="\e[1;32m" | |
| COLOR_RED="\e[00;31m" |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"