From 4c1365181595f2fa068b6f9fde784cc41b3514e8 Mon Sep 17 00:00:00 2001 From: Vitaly Potyarkin Date: Wed, 25 Oct 2023 10:46:11 +0300 Subject: [PATCH] Add default flags for diff command --- dotfiles/bash/aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/bash/aliases b/dotfiles/bash/aliases index 173c18ab..acb8b9aa 100644 --- a/dotfiles/bash/aliases +++ b/dotfiles/bash/aliases @@ -63,7 +63,7 @@ popd() { # Pretty diff like `git diff` _diff_pretty() { - command diff --color=always "$@" | less -rXF + command diff -ruN --color=always "$@" | less -rXF } alias diff=_diff_pretty