diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-19 07:58:07 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-19 07:59:11 +0100 |
| commit | 786a6b0df8e0ae9d2d074cc76b5db53b1bb3b588 (patch) | |
| tree | 7fc8c0bab433a33d609e26b97f93316f09035a06 /bin/e | |
| parent | e48e4d84068672020efbc435f8090ba4641cc2d6 (diff) | |
| download | dotfiles-786a6b0df8e0ae9d2d074cc76b5db53b1bb3b588.tar.gz dotfiles-786a6b0df8e0ae9d2d074cc76b5db53b1bb3b588.zip | |
e: add microemacs
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à <mssola@mssola.com>
Diffstat (limited to 'bin/e')
| -rwxr-xr-x | bin/e | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |
