dotfiles/.local/bin/scripts/dif
2021-04-02 20:57:58 +02:00

4 lines
144 B
Bash
Executable file

#!/bin/sh
set -o pipefail
# interactive diff with pagination
diff --color=always --report-identical-files -U 2 "$@" | less --quit-if-one-screen