1
0
Fork 0

Open eshell buffers in a side window

This commit is contained in:
Tom Willemse 2019-09-08 16:53:11 -07:00
parent bb29ee8a12
commit cd59d77e92

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2019.0904.210523 ;; Version: 2019.0908.165243
;; Package-Requires: (eshell-fringe-status esh-autosuggest) ;; Package-Requires: (eshell-fringe-status esh-autosuggest)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -56,6 +56,12 @@
(when (display-graphic-p) (when (display-graphic-p)
(add-hook 'eshell-mode-hook 'eshell-fringe-status-mode)) (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)) ;;;###autoload(with-eval-after-load 'eshell (require 'oni-eshell))
(provide 'oni-eshell) (provide 'oni-eshell)