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

12 lines
290 B
Org Mode

#+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