aboutsummaryrefslogtreecommitdiff
path: root/macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org
diff options
context:
space:
mode:
authorJacob Janzen <jacob.a.s.janzen@gmail.com>2024-10-01 17:42:59 -0500
committerJacob Janzen <jacob.a.s.janzen@gmail.com>2024-10-01 17:42:59 -0500
commit7b0ea5cbdaaa5b8392777ad207c74cb27411eab1 (patch)
tree37a3438116ec3c84663133c820808ad9e2acf021 /macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org
parent7a347653dfad8c6c33791f7e72a4ec40b8230ac3 (diff)
the big refactor
Diffstat (limited to 'macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org')
-rwxr-xr-xmacos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org b/macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org
new file mode 100755
index 0000000..03c5152
--- /dev/null
+++ b/macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org
@@ -0,0 +1,9 @@
+#+title: Emacs Client Application
+
+#+begin_src sh :tangle ~/Applications/Emacs.app/Contents/MacOS/Emacs :mkdirp yes :tangle-mode o755
+ #!/bin/sh
+ if ! ps -e | grep -q '[E]macs --bg-daemon'; then
+ /opt/homebrew/bin/emacs --daemon
+ fi
+ /opt/homebrew/bin/emacsclient -c &> /dev/null
+#+end_src