dotfiles/.local/bin/scripts/dif

6 lines
167 B
Plaintext
Raw Normal View History

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