summaryrefslogtreecommitdiff
path: root/.emacs.d/eshell
diff options
context:
space:
mode:
authorSean Whitton <spw+git@sdf.org>2014-05-21 12:46:14 +0000
committerSean Whitton <spw+git@sdf.org>2014-05-21 12:46:14 +0000
commita192f1466beaf89cb021446d94770198058f9fa7 (patch)
treec32b56a8e238827f741fbaf20c4a5798317352b0 /.emacs.d/eshell
parent685a03bfc7ea69c4c51ba9a6888335e1f7493eb3 (diff)
downloaddotfiles-a192f1466beaf89cb021446d94770198058f9fa7.tar.gz
fix commands running in eshell struggling to fire up an editor
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