From ba06b5fb8c054f769c303c8b02a08502d6067210 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 23 Apr 2022 02:27:49 +0200 Subject: update --- .local/bin/editermcmd | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 .local/bin/editermcmd (limited to '.local/bin/editermcmd') diff --git a/.local/bin/editermcmd b/.local/bin/editermcmd new file mode 100755 index 0000000..9a7c8ba --- /dev/null +++ b/.local/bin/editermcmd @@ -0,0 +1,4 @@ +#!/bin/sh + +pgrep emacs >/dev/null && exec bsdsetsid emacsclient -nw "$@" >/dev/null +exec nvim "$@" -- cgit v1.2.3