dotfiles/.local/bin/scripts/dif
2021-07-29 16:02:20 +02:00

5 lines
185 B
Bash
Executable file

#!/bin/sh
# interactive diff with pagination and nice coloring
set -o pipefail
diff-color --report-identical-files "$@" |
less --RAW-CONTROL-CHARS --quit-on-intr --quit-if-one-screen