summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 234d4dc..f15879d 100644
--- a/bashrc
+++ b/bashrc
@@ -9,7 +9,7 @@ safedir() {
}
diffWith() {
- diffCmd=$1
+ diffCmd=$@
diffFile="/tmp/diffwith-$(safedir $diffCmd).patch"
$diffCmd > $diffFile
dos2unix -q $diffFile