mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix per-workspace eshell buffers
This commit is contained in:
@ -75,6 +75,19 @@
|
||||
(eshell-send-input nil t))))
|
||||
|
||||
|
||||
;;
|
||||
;; Persp-mode integration
|
||||
;;
|
||||
|
||||
(defun +eshell|switch-workspace ()
|
||||
(setq +eshell-buffers
|
||||
(or (persp-parameter 'eshell-buffers)
|
||||
(make-ring 25))))
|
||||
|
||||
(defun +eshell|save-workspace ()
|
||||
(set-persp-parameter 'eshell-buffers +eshell-buffers))
|
||||
|
||||
|
||||
;;
|
||||
;; Commands
|
||||
;;
|
||||
|
Reference in New Issue
Block a user