diff options
author | Case Duckworth | 2021-08-24 20:16:11 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-24 20:16:11 -0500 |
commit | 28a900fe2a74dd737dd2ed2222a24ee15eafe523 (patch) | |
tree | 44c442b4c5daab64334c061519cf5f0d5dffa48e | |
parent | Fix long-standing eshell binding bug (diff) | |
download | emacs-28a900fe2a74dd737dd2ed2222a24ee15eafe523.tar.gz emacs-28a900fe2a74dd737dd2ed2222a24ee15eafe523.zip |
Define page-delimiter in eshell
-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)) |