blob: 03c51527c0df8e1f41c5fd7245a5ceb2199994e0 (
plain)
1
2
3
4
5
6
7
8
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
|