aboutsummaryrefslogtreecommitdiff
path: root/emacs/emacs.bash
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/emacs.bash')
-rw-r--r--emacs/emacs.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/emacs.bash b/emacs/emacs.bash
new file mode 100644
index 00000000..2312f786
--- /dev/null
+++ b/emacs/emacs.bash
@@ -0,0 +1,5 @@
+# source this file from your bash startup script
+
+alias emacs="emacsclient --create-frame -t"
+export ALTERNATE_EDITOR=""
+export EDITOR="emacsclient -t"