Skip to content

Commit

Permalink
Improve output from npm inside eshell
Browse files Browse the repository at this point in the history
  • Loading branch information
James Conroy-Finn committed Aug 28, 2014
1 parent 6385d69 commit 6a1a82a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions init-packages.org
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a1a82a

Please sign in to comment.