From 6a1a82a8a5560e06537c3883ba9b2d155c3bbb46 Mon Sep 17 00:00:00 2001 From: James Conroy-Finn Date: Thu, 28 Aug 2014 19:52:03 +0100 Subject: [PATCH] Improve output from `npm` inside eshell --- init-packages.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/init-packages.org b/init-packages.org index 9c58611..3baa093 100644 --- a/init-packages.org +++ b/init-packages.org @@ -145,6 +145,16 @@ (setq eshell-glob-case-insensitive t) #+end_src + Tell Node.js, and hence ~npm~ to avoid use of escape codes because + they don't print well. + + #+begin_src emacs-lisp :tangle init-packages.el :comments link + (add-hook + 'eshell-mode-hook + '(lambda () + (eshell/export "NODE_NO_READLINE=1"))) + #+end_src + ** Expand region #+begin_src emacs-lisp :tangle init-packages.el :comments link