summarylogtreecommitdiffstats
path: root/diff-so-fancy-git.install
diff options
context:
space:
mode:
authoricasdri2016-02-10 20:06:22 -0500
committericasdri2016-02-10 20:06:22 -0500
commite260f2db2c95ac966c2ac408d52f1cd0e1e9f151 (patch)
treebe9e8f2c72b887bd3e0e24abcff1e533ad08a900 /diff-so-fancy-git.install
downloadaur-e260f2db2c95ac966c2ac408d52f1cd0e1e9f151.tar.gz
Iniitial commit (with install file)
Diffstat (limited to 'diff-so-fancy-git.install')
-rw-r--r--diff-so-fancy-git.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/diff-so-fancy-git.install b/diff-so-fancy-git.install
new file mode 100644
index 000000000000..870d5ff39f89
--- /dev/null
+++ b/diff-so-fancy-git.install
@@ -0,0 +1,9 @@
+post_install() {
+ echo
+ echo "==> If you desire git-diff to use diff-so-fancy by default,"
+ echo "==> set diff-so-fancy as your global pager with the following:"
+ echo "==> git config --global core.pager 'diff-so-fancy | less --tabs=1,5 -R'"
+ echo "==> Or for one-off usage, use:"
+ echo "==> git diff --color | diff-so-fancy"
+ echo
+}