dotfiles/.local/bin/dif

4 lines
91 B
Bash
Executable File

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