dotfiles/.local/bin/dif

4 lines
86 B
Plaintext
Raw Normal View History

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