Skip to content

Commit

Permalink
Add default flags for diff command
Browse files Browse the repository at this point in the history
  • Loading branch information
sio committed Oct 25, 2023
1 parent db47865 commit 4c13651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotfiles/bash/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4c13651

Please sign in to comment.