summaryrefslogtreecommitdiffstats
path: root/.local/bin/startemacs
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/startemacs')
-rwxr-xr-x.local/bin/startemacs6
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/startemacs b/.local/bin/startemacs
new file mode 100755
index 0000000..4a61641
--- /dev/null
+++ b/.local/bin/startemacs
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+
+if ! pgrep emacs; then
+ bsdsetsid emacs --daemon >/dev/null 2>&1
+fi