Add eshell configuration

This commit is contained in:
Tom Willemse 2016-11-02 11:47:56 +01:00
parent a7fefa54c0
commit c37bd5f354
2 changed files with 18 additions and 0 deletions

View file

@ -947,6 +947,12 @@ To start off, first I need to enable lexical binding.
(with-eval-after-load 'org (load "oni-org-init"))
#+END_SRC
- [[file:init/oni-eshell-init.org][Eshell]] :: The best shell on the planet.
#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'eshell (load "oni-eshell-init"))
#+END_SRC
** Linewise user-interface
This is the library used by Circe and Slack to display messages.

View file

@ -0,0 +1,12 @@
#+TITLE: Eshell configuration
#+BEGIN_SRC emacs-lisp
(require 'eshell)
#+END_SRC
Truncate the eshell buffer when it gets larger than
=eshell-buffer-maximum-lines= number of lines.
#+BEGIN_SRC emacs-lisp
(add-to-list 'eshell-output-filter-functions 'eshell-truncate-buffer)
#+END_SRC