add diffr color customization

This commit is contained in:
lelgenio 2020-12-01 16:15:39 -03:00
parent 7a139163ae
commit 7971b8ddc7
1 changed files with 12 additions and 0 deletions

12
dotfiles/scripts/diffr Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
/usr/bin/diffr \
--colors 'refine-added:foreground:green:underline' \
--colors 'refine-added:background:none' \
--colors 'refine-removed:foreground:red:underline' \
--colors 'refine-removed:background:none' \
--colors 'added:foreground:green' \
--colors 'added:background:none' \
--colors 'removed:foreground:red' \
--colors 'removed:background:none' \
$@