blob: 1665755e455957ee4102ebcc468c865fa1ba0b2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
# if first arg provided, use it, otherwise default to release
DELTA_BIN=${1:-./target/release/delta}
DELTA="$DELTA_BIN --no-gitconfig"
foreground_color=red
for decoration_attr in box underline plain; do
git show | $DELTA --commit-style $decoration_attr
git show | $DELTA --file-style $decoration_attr
done
|