aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/diff.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-05-31 00:44:42 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-05-31 00:44:42 +1200
commitdeb74ddaf48652fd6352942ee56a0f40f05df81d (patch)
treec3a412f81815aae098ae1d21aeda934030d3264d /bash/bashrc.d/diff.bash
parentUse temp var for $* tests (diff)
downloaddotfiles-deb74ddaf48652fd6352942ee56a0f40f05df81d.tar.gz
dotfiles-deb74ddaf48652fd6352942ee56a0f40f05df81d.zip
Translate remaining aliases to functions
Diffstat (limited to 'bash/bashrc.d/diff.bash')
-rw-r--r--bash/bashrc.d/diff.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/bashrc.d/diff.bash b/bash/bashrc.d/diff.bash
new file mode 100644
index 00000000..d1567d17
--- /dev/null
+++ b/bash/bashrc.d/diff.bash
@@ -0,0 +1,5 @@
+# Use a unified format for diff(1) by default
+diff() {
+ command diff -u "$@"
+}
+