aboutsummaryrefslogtreecommitdiff
path: root/pdksh/pdkshrc.d/diff.pdksh
diff options
context:
space:
mode:
Diffstat (limited to 'pdksh/pdkshrc.d/diff.pdksh')
-rw-r--r--pdksh/pdkshrc.d/diff.pdksh4
1 files changed, 4 insertions, 0 deletions
diff --git a/pdksh/pdkshrc.d/diff.pdksh b/pdksh/pdkshrc.d/diff.pdksh
new file mode 100644
index 00000000..2c752c8d
--- /dev/null
+++ b/pdksh/pdkshrc.d/diff.pdksh
@@ -0,0 +1,4 @@
+# Use a unified format for diff(1) by default
+diff() {
+ command diff -u "$@"
+}