mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
Fix per-workspace eshell buffers
This commit is contained in:
@ -81,6 +81,11 @@ You should use `det-eshell-alias!' to change this.")
|
||||
;; Enable autopairing in eshell
|
||||
(add-hook 'eshell-mode-hook #'smartparens-mode)
|
||||
|
||||
;; Persp-mode/workspaces integration
|
||||
(when (featurep! :feature workspaces)
|
||||
(add-hook 'persp-activated-functions #'+eshell|switch-workspace)
|
||||
(add-hook 'persp-before-switch-functions #'+eshell|save-workspace))
|
||||
|
||||
;; UI enhancements
|
||||
(defun +eshell|remove-fringes ()
|
||||
(set-window-fringes nil 0 0)
|
||||
|
Reference in New Issue
Block a user