summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 2f2c908..ffee64f 100644
--- a/bashrc
+++ b/bashrc
@@ -18,7 +18,8 @@ safedir() {
diffWith() {
diffCmd=$@
- diffFile="/tmp/diffwith-$(safedir $diffCmd).patch"
+ mkdir -p bin
+ diffFile="bin/diffwith-$(safedir $diffCmd).patch"
$diffCmd > $diffFile
dos2unix -q $diffFile
( $EDITOR $diffFile ; rm -f $diffFile ) &