diff --git a/layers/+tools/shell/config.el b/layers/+tools/shell/config.el index 75e3cfc57..2180aa8db 100644 --- a/layers/+tools/shell/config.el +++ b/layers/+tools/shell/config.el @@ -15,7 +15,8 @@ (setq comint-move-point-for-output t) ;; Add shell buffers to useful buffers list -(push "\\*\\(ansi-term\\|eshell\\|shell\\|terminal\.\+\\)\\*" spacemacs-useful-buffers-regexp) +(push "\\*\\(ansi-term\\|eshell\\|shell\\|terminal\.\+\\)\\(-[0-9]+\\)?\\*" + spacemacs-useful-buffers-regexp) ;; Variables