dotfiles/.local/bin/dif

4 lines
86 B
Bash
Executable File

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