dotfiles/.local/bin/scripts/dif

6 lines
185 B
Plaintext
Raw Normal View History

#!/bin/sh
2021-07-29 14:02:20 +00:00
# interactive diff with pagination and nice coloring
2021-04-02 18:57:58 +00:00
set -o pipefail
diff-color --report-identical-files "$@" |
2021-04-11 20:47:51 +00:00
less --RAW-CONTROL-CHARS --quit-on-intr --quit-if-one-screen