From 786a6b0df8e0ae9d2d074cc76b5db53b1bb3b588 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 19 Feb 2026 07:58:07 +0100 Subject: e: add microemacs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's impossible that the previous editors don't exist but microemacs does, but I still find it funny. Signed-off-by: Miquel Sabaté Solà --- bin/e | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/e b/bin/e index db534fc..a1cd91d 100755 --- a/bin/e +++ b/bin/e @@ -19,8 +19,9 @@ # 1. GNU Emacs in client mode. # 2. Vim -> Vi. # 3. Standalone GNU Emacs. -# 4. GNU nano -# 5. Outta luck: print an error message. +# 4. MicroEmacs. +# 5. GNU nano +# 6. Outta luck: print an error message. if [ -x "$(command -v emacsclient)" ]; then exec emacsclient -a "" -nw "$@" -c @@ -30,6 +31,8 @@ elif [ -x "$(command -v vi)" ]; then exec vi "$@" elif [ -x "$(command -v emacs)" ]; then exec emacs --quick "$@" +elif [ -x "$(command -v em)" ]; then + exec em "$@" elif [ -x "$(command -v nano)" ]; then exec nano "$@" else -- cgit v1.2.3