summaryrefslogtreecommitdiffstats
path: root/.local/bin/startemacs
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-23 01:25:46 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-23 01:25:46 +0200
commit575db6052aa15cf135d1bea9efd04d4edef1b062 (patch)
tree2005b91d281d02b0aa757116cdd123b9093820f6 /.local/bin/startemacs
parentncmpc keys update and more (diff)
downloaddotfiles-bsd-575db6052aa15cf135d1bea9efd04d4edef1b062.tar.gz
dotfiles-bsd-575db6052aa15cf135d1bea9efd04d4edef1b062.tar.bz2
dotfiles-bsd-575db6052aa15cf135d1bea9efd04d4edef1b062.tar.xz
dotfiles-bsd-575db6052aa15cf135d1bea9efd04d4edef1b062.tar.zst
dotfiles-bsd-575db6052aa15cf135d1bea9efd04d4edef1b062.zip
udpate
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