dotfiles/.local/bin/scripts/dif

6 lines
167 B
Bash
Executable File

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