dotfiles/.local/bin/scripts/diff-color

5 lines
291 B
Plaintext
Raw Normal View History

#!/bin/sh
# Colorize with diffr
2022-06-13 13:49:14 +00:00
diff --color=always --unified=2 "$@" |
diffr --colors refine-added:none:background:0x33,0x66,0x33:bold --colors added:none:background:0x33,0x44,0x33 --colors refine-removed:none:background:0x66,0x33,0x33:bold --colors removed:none:background:0x44,0x33,0x33