git: Remove left-over dsf
Diff-so-fancy is replaced by delta.
This commit is contained in:
parent
38c64fe9cf
commit
f8cd642555
1 changed files with 0 additions and 18 deletions
|
@ -1,18 +0,0 @@
|
||||||
#!/usr/bin/env sh
|
|
||||||
# Pretty git diff display
|
|
||||||
|
|
||||||
# degrade diffs gracefully:
|
|
||||||
# prefer diff-so-fancy if it is installed,
|
|
||||||
# otherwise fallback to git's own prettifier,
|
|
||||||
# if nothing exists just pass it on
|
|
||||||
dsf() {
|
|
||||||
if exist diff-so-fancy; then
|
|
||||||
diff-so-fancy
|
|
||||||
elif exist /usr/share/git/diff-highlight/diff-highlight; then
|
|
||||||
/usr/share/git/diff-highlight/diff-highlight
|
|
||||||
else
|
|
||||||
cat
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
dsf
|
|
Loading…
Reference in a new issue