Add eshell configuration
This commit is contained in:
parent
a7fefa54c0
commit
c37bd5f354
2 changed files with 18 additions and 0 deletions
|
@ -947,6 +947,12 @@ To start off, first I need to enable lexical binding.
|
||||||
(with-eval-after-load 'org (load "oni-org-init"))
|
(with-eval-after-load 'org (load "oni-org-init"))
|
||||||
#+END_SRC
|
#+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
|
** Linewise user-interface
|
||||||
|
|
||||||
This is the library used by Circe and Slack to display messages.
|
This is the library used by Circe and Slack to display messages.
|
||||||
|
|
12
emacs/.emacs.d/init/oni-eshell-init.org
Normal file
12
emacs/.emacs.d/init/oni-eshell-init.org
Normal 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
|
Loading…
Reference in a new issue