summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2017-11-04 16:40:12 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2017-11-04 16:40:12 +0000
commit2edc2876e015bb81ef59387745eeb76239f7cbc0 (patch)
tree47f58286c4f33840133e31428e85de0618583b0a
parentRemove PA things :D (diff)
downloadutil-2edc2876e015bb81ef59387745eeb76239f7cbc0.tar.bz2
util-2edc2876e015bb81ef59387745eeb76239f7cbc0.tar.xz
util-2edc2876e015bb81ef59387745eeb76239f7cbc0.zip
Fix diffWith to pass all parameters
-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