diff options
author | 2016-11-02 11:47:56 +0100 | |
---|---|---|
committer | 2016-11-02 11:47:56 +0100 | |
commit | c37bd5f354c55e6f73181d2341d828c572cf57d1 (patch) | |
tree | 85955831cbbdaa16634afd899bea14645c727375 /emacs/.emacs.d/init/oni-eshell-init.org | |
parent | a7fefa54c0a02ca4460ee79a18c59b3a7da9c949 (diff) | |
download | new-dotfiles-c37bd5f354c55e6f73181d2341d828c572cf57d1.tar.gz new-dotfiles-c37bd5f354c55e6f73181d2341d828c572cf57d1.zip |
Add eshell configuration
Diffstat (limited to 'emacs/.emacs.d/init/oni-eshell-init.org')
-rw-r--r-- | emacs/.emacs.d/init/oni-eshell-init.org | 12 |
1 files changed, 12 insertions, 0 deletions
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 |