Created
February 23, 2016 17:19
-
-
Save diginc/21ea190aceffc7bfe2c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BASE='https://raw.githubusercontent.com/stevemao/diff-so-fancy/master/' | |
for i in diff-so-fancy diff-highlight; do | |
wget -O ~/bin/$i ${BASE}${i} | |
chmod +x ~/bin/$i | |
done; | |
git --version && git config --global core.pager "diff-highlight | diff-so-fancy | less --tabs=1,5 -R" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment