dotfiles/emacs/.emacs.d/init/oni-eshell-init.org

13 lines
290 B
Org Mode
Raw Normal View History

2016-11-02 11:47:56 +01:00
#+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