summaryrefslogtreecommitdiff
path: root/.emacs.d/eshell
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/eshell')
-rw-r--r--.emacs.d/eshell/profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/eshell/profile b/.emacs.d/eshell/profile
index 1fad3fe5..182b31fa 100644
--- a/.emacs.d/eshell/profile
+++ b/.emacs.d/eshell/profile
@@ -1,2 +1,7 @@
# tell commands that they can go ahead and emit ANSI colour sequences
export TERM=vt100
+
+# commands that want to open an editor should call emacsclient, and
+# eshell knows what to do. Without these lines we get lots of garbage
+export EDITOR=emacsclient
+export VISUAL=emacsclient