dotfiles/.local/bin/scripts/dif

5 lines
144 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=always --report-identical-files -U 2 "$@" | less --quit-if-one-screen