From c37bd5f354c55e6f73181d2341d828c572cf57d1 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 2 Nov 2016 11:47:56 +0100 Subject: Add eshell configuration --- emacs/.emacs.d/init/oni-eshell-init.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 emacs/.emacs.d/init/oni-eshell-init.org (limited to 'emacs/.emacs.d/init') diff --git a/emacs/.emacs.d/init/oni-eshell-init.org b/emacs/.emacs.d/init/oni-eshell-init.org new file mode 100644 index 0000000..185043c --- /dev/null +++ b/emacs/.emacs.d/init/oni-eshell-init.org @@ -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 -- cgit v1.2.3-54-g00ecf