dotfiles/.local/bin/scripts/dif

5 lines
169 B
Bash
Executable File

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