summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 11:07:14 +0100
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 11:07:14 +0100
commit295917c96676739349786318166049dfefb9507a (patch)
tree9a6b1eb67814a803445e7c1bb2bdc5c25059d1f9 /bashrc
parentCleaner post build title (diff)
downloadutil-295917c96676739349786318166049dfefb9507a.tar.bz2
util-295917c96676739349786318166049dfefb9507a.tar.xz
util-295917c96676739349786318166049dfefb9507a.zip
Use EDITOR in diffWith
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 8e62e76..08a0e51 100644
--- a/bashrc
+++ b/bashrc
@@ -21,7 +21,7 @@ diffWith() {
diffFile="/tmp/diffwith-$(safedir $diffCmd).patch"
$diffCmd > $diffFile
dos2unix -q $diffFile
- ( gvim -f $diffFile ; rm $diffFile ) &
+ ( $EDITOR $diffFile ; rm -f $diffFile ) &
}
showimage() {