aboutsummaryrefslogtreecommitdiffstats
path: root/oni-eshell.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-09-08 16:53:11 -0700
committerGravatar Tom Willemse2019-09-08 16:53:11 -0700
commitcd59d77e9243355333374e07fc518f72fb85c554 (patch)
treeae6db18dbcb2ee406b942dd503d35dcf4470f710 /oni-eshell.el
parentbb29ee8a1257ccdca1a8a0cd4a20434197df3ec4 (diff)
downloademacs-config-cd59d77e9243355333374e07fc518f72fb85c554.tar.gz
emacs-config-cd59d77e9243355333374e07fc518f72fb85c554.zip
Open eshell buffers in a side window
Diffstat (limited to 'oni-eshell.el')
-rw-r--r--oni-eshell.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/oni-eshell.el b/oni-eshell.el
index 40d7d82..8530ca9 100644
--- a/oni-eshell.el
+++ b/oni-eshell.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2019.0904.210523
+;; Version: 2019.0908.165243
;; Package-Requires: (eshell-fringe-status esh-autosuggest)
;; This program is free software; you can redistribute it and/or modify
@@ -56,6 +56,12 @@
(when (display-graphic-p)
(add-hook 'eshell-mode-hook 'eshell-fringe-status-mode))
+(add-to-list 'display-buffer-alist
+ '("\\`\\*eshell" display-buffer-in-side-window
+ (side . bottom)
+ (slot . 0)
+ (window-height . 0.33)))
+
;;;###autoload(with-eval-after-load 'eshell (require 'oni-eshell))
(provide 'oni-eshell)