From 22aa08dbb88e4ceca4a4a5206b3e48bb354c42d7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 27 Aug 2021 11:37:22 +0100 Subject: Put diffs in bin folder Is this better? Sure I did it for a reason --- bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bashrc') 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 ) & -- cgit v1.2.3