summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.shenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/.shenv b/.shenv
index d8d548ca..d44dec8a 100755
--- a/.shenv
+++ b/.shenv
@@ -18,12 +18,12 @@ emacsclient=$(which emacsclient 2>/dev/null)
mg=$(which mg 2>/dev/null)
# best case: emacsclient and mg available
if [ -x "$emacsclient" -a -x "$mg" ]; then
- EDITOR="emacsclient -amg $ec_args"
+ EDITOR="emacsclient $ec_args"
ALTERNATE_EDITOR="mg"
else
# only emacsclient, so change alternate editor
if [ -x "$emacsclient" ]; then
- EDITOR="emacsclient -avi $ec_args"
+ EDITOR="emacsclient $ec_args"
ALTERNATE_EDITOR="vi"
else
# no emacsclient, so see if we can fall back to mg