diff options
author | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2021-08-27 11:37:22 +0100 |
---|---|---|
committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2021-08-27 11:37:22 +0100 |
commit | 22aa08dbb88e4ceca4a4a5206b3e48bb354c42d7 (patch) | |
tree | 5040257e442bb376de75853291c140191f1ffb0d | |
parent | Enable fancy prompts (diff) | |
download | util-22aa08dbb88e4ceca4a4a5206b3e48bb354c42d7.tar.bz2 util-22aa08dbb88e4ceca4a4a5206b3e48bb354c42d7.tar.xz util-22aa08dbb88e4ceca4a4a5206b3e48bb354c42d7.zip |
Put diffs in bin folder
Is this better? Sure I did it for a reason
-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 ) & |