dotfiles/.local/bin/scripts/dif

4 lines
128 B
Bash
Executable File

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