From 7b0ea5cbdaaa5b8392777ad207c74cb27411eab1 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Tue, 1 Oct 2024 17:42:59 -0500 Subject: the big refactor --- macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org (limited to 'macos.local/Applications/Emacs.app') 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 -- cgit v1.2.3