From cb025bf3d002a69c56a28b04e8ea8be64a38f5c8 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 6 Feb 2019 19:13:03 -0500 Subject: [PATCH] Use GUI emacsclient for $EDITOR --- bash/.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 02b38b3..8b5135b 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -27,6 +27,6 @@ then eval "$(direnv hook bash)" fi -alias edit='emacsclient -nw' -EDITOR='emacsclient -nw' +alias edit="$(which emacsclient)" +EDITOR="$(which emacsclient)" export EDITOR