aboutsummaryrefslogtreecommitdiff
path: root/emacs/profile.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-01-04 10:18:06 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-01-04 10:19:58 +1300
commit97a0d713317036d773df6476f8ae47a1e423276f (patch)
tree801397ab604b39e27156e078ed7474df5d2bd4a7 /emacs/profile.d
parentUse :lhelpgrep for help search shortcut (diff)
downloaddotfiles-97a0d713317036d773df6476f8ae47a1e423276f.tar.gz
dotfiles-97a0d713317036d773df6476f8ae47a1e423276f.zip
Further attempts at sane Emacs VISUAL setting
Diffstat (limited to 'emacs/profile.d')
-rw-r--r--emacs/profile.d/emacs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/profile.d/emacs.sh b/emacs/profile.d/emacs.sh
new file mode 100644
index 00000000..34f6d476
--- /dev/null
+++ b/emacs/profile.d/emacs.sh
@@ -0,0 +1,2 @@
+# Start an Emacs server if we can't detect one already running
+pgrep -fx -u "$USER" 'emacs --daemon' >/dev/null || emacs --daemon