diff options
author | Sean Whitton <spw+git@sdf.org> | 2014-05-21 12:46:14 +0000 |
---|---|---|
committer | Sean Whitton <spw+git@sdf.org> | 2014-05-21 12:46:14 +0000 |
commit | a192f1466beaf89cb021446d94770198058f9fa7 (patch) | |
tree | c32b56a8e238827f741fbaf20c4a5798317352b0 /.emacs.d/eshell | |
parent | 685a03bfc7ea69c4c51ba9a6888335e1f7493eb3 (diff) | |
download | dotfiles-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/profile | 5 |
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 |