diff options
-rw-r--r-- | init.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/init.el b/init.el index 3d15c05..caa5c51 100644 --- a/init.el +++ b/init.el | |||
@@ -376,8 +376,9 @@ like a dumbass." | |||
376 | ;; Fix modeline | 376 | ;; Fix modeline |
377 | (when (boundp 'simple-modeline--mode-line) | 377 | (when (boundp 'simple-modeline--mode-line) |
378 | (setq mode-line-format '(:eval simple-modeline--mode-line))) | 378 | (setq mode-line-format '(:eval simple-modeline--mode-line))) |
379 | ;; Set outline-regexp for consult-outline | 379 | ;; Make navigating amongst prompts easier |
380 | (setq outline-regexp eshell-prompt-regexp)) | 380 | (setq-local outline-regexp eshell-prompt-regexp |
381 | page-delimiter eshell-prompt-regexp)) | ||
381 | 382 | ||
382 | (defun eshell-buffer-name () | 383 | (defun eshell-buffer-name () |
383 | (rename-buffer (concat "*eshell*<" (eshell/pwd) ">") t)) | 384 | (rename-buffer (concat "*eshell*<" (eshell/pwd) ">") t)) |