From d3ab473bf2c4b9ed5cfc857ce08bcaf832c8af14 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 27 Nov 2020 12:11:13 -0600 Subject: Add 'edit' script Should I change it to "editor" ? --- config.org | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config.org') diff --git a/config.org b/config.org index abbc8f2..703c1c8 100644 --- a/config.org +++ b/config.org @@ -1151,3 +1151,10 @@ from [[https://github.com/alphapapa/unpackaged.el#org-return-dwim][unpackaged.el (use-package bongo :commands 'bongo) #+end_src + +* Appendix A: ~edit~ script + +Here's a wrapper script that'll start =emacs --daemon= if there isn't one, and then launche =emacsclient= on the arguments. I'd recommend installing with ~ln -s edit ~/.local/bin/~ or something. + +#+begin_src sh :shebang "#!/bin/sh" :tangle edit +#+end_src -- cgit 1.4.1-21-gabe81