[git] Add diff-so-fancy as git diff

Added package diff-so-fancy and make diff use it by default for its
diffs by setting it as its diff-pager.

Added sanity function dsf which invokes diff-so-fancy if it exists or
degrades gracefully if it does not. Use this function for all git diff
needs.

Pre-fill the pager search term in git to enable jumping between changed
files with n/N.
This commit is contained in:
Marty Oehme 2020-05-28 13:35:57 +02:00
parent 17f8ca062d
commit d6a2ee7b8a
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A
4 changed files with 31 additions and 0 deletions

View file

@ -15,6 +15,7 @@ bison
chromium
dhcpcd
dialog
diff-so-fancy
docker
docx2txt
dunst