From 295917c96676739349786318166049dfefb9507a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 27 Aug 2021 11:07:14 +0100 Subject: Use EDITOR in diffWith --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.3