summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/editermcmd4
-rwxr-xr-x.local/bin/editorcmd3
2 files changed, 1 insertions, 6 deletions
diff --git a/.local/bin/editermcmd b/.local/bin/editermcmd
deleted file mode 100755
index 9a7c8ba..0000000
--- a/.local/bin/editermcmd
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-pgrep emacs >/dev/null && exec bsdsetsid emacsclient -nw "$@" >/dev/null
-exec nvim "$@"
diff --git a/.local/bin/editorcmd b/.local/bin/editorcmd
index ccd5359..24fa7e7 100755
--- a/.local/bin/editorcmd
+++ b/.local/bin/editorcmd
@@ -1,4 +1,3 @@
#!/bin/sh
-pgrep emacs >/dev/null && exec bsdsetsid emacsclient -c "$@" >/dev/null
-exec nvim "$@"
+exec emacsclient -nw -a nvim "$@"