From 22f192a01f61ad3ec728a5252ecb3763b334112f Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Mon, 27 Jun 2022 13:03:46 +0200 Subject: [PATCH] bin: slight diff parameter adjustments --- .local/bin/scripts/diff-color | 3 ++- .local/bin/scripts/pdiff | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.local/bin/scripts/diff-color b/.local/bin/scripts/diff-color index 3a0371e..906939c 100755 --- a/.local/bin/scripts/diff-color +++ b/.local/bin/scripts/diff-color @@ -1,4 +1,5 @@ #!/bin/sh # Colorize with diffr -diff --color=always --unified=2 "$@" | +# TODO light mode +diff --color=always --minimal --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 diff --git a/.local/bin/scripts/pdiff b/.local/bin/scripts/pdiff index 8fce8f2..5a24ea9 100755 --- a/.local/bin/scripts/pdiff +++ b/.local/bin/scripts/pdiff @@ -1,3 +1,3 @@ #!/bin/sh # Diff project directories, excluding any generated content -diff-color --recursive $DIRS_IGNORE "$@" | less -F +diff-color --speed-large-files --recursive $DIRS_IGNORE "$@" | less -F