diff options
-rw-r--r-- | bashrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 ) & |