diff options
-rwxr-xr-x | .shenv | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |