summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {