dotfiles/.local/bin/scripts/dif

4 lines
116 B
Bash
Executable File

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