]> xn--ix-yja.es Git - alex.git/commitdiff
Add emacs bash config
authoralex <alex@pdp7.net>
Sun, 18 Dec 2022 13:46:00 +0000 (14:46 +0100)
committeralex <alex@pdp7.net>
Sun, 18 Dec 2022 14:02:27 +0000 (15:02 +0100)
emacs/emacs.bash [new file with mode: 0644]

diff --git a/emacs/emacs.bash b/emacs/emacs.bash
new file mode 100644 (file)
index 0000000..d56f8a3
--- /dev/null
@@ -0,0 +1,6 @@
+# source this file from your bash startup script
+
+alias emacs="emacsclient --create-frame -t"
+export ALTERNATE_EDITOR=""
+export EDITOR="emacsclient -t"
+export VISUAL="emacsclient -c -a emacs"