bin: slight diff parameter adjustments

This commit is contained in:
xeruf 2022-06-27 13:03:46 +02:00
parent 69ddc06b67
commit 22f192a01f
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# Colorize with diffr # 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 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

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
# Diff project directories, excluding any generated content # Diff project directories, excluding any generated content
diff-color --recursive $DIRS_IGNORE "$@" | less -F diff-color --speed-large-files --recursive $DIRS_IGNORE "$@" | less -F