aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index a4eb42b2..74a810f8 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -162,6 +162,9 @@ alias ed='ed -p:'
# Make gdb shut up.
alias gdb='gdb -q'
+# I always want a unified diff.
+alias diff='diff -u'
+
# Attach to existing tmux session rather than create a new one if possible.
function tmux {
if [[ -n "$*" ]]; then