dotfiles/.local/bin/scripts/dif

6 lines
185 B
Bash
Executable File

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