dotfiles/.local/bin/scripts/diff-color
2022-05-03 11:22:10 +02:00

4 lines
291 B
Bash
Executable file

#!/bin/sh
# Colorize with diffr
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