diff options
-rw-r--r-- | init.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/init.el b/init.el index 2651d14..e7d9d9e 100644 --- a/init.el +++ b/init.el | |||
@@ -258,8 +258,14 @@ | |||
258 | (add-hook 'eshell-mode-hook | 258 | (add-hook 'eshell-mode-hook |
259 | (defun +eshell@setup () | 259 | (defun +eshell@setup () |
260 | "Eshell improperly does loading. Gah." | 260 | "Eshell improperly does loading. Gah." |
261 | (interactive) | ||
261 | (dolist (setting `((outline-regexp . ,eshell-prompt-regexp) | 262 | (dolist (setting `((outline-regexp . ,eshell-prompt-regexp) |
262 | (page-delimiter . ,eshell-prompt-regexp))) | 263 | (page-delimiter . ,eshell-prompt-regexp) |
264 | (imenu-generic-expression | ||
265 | . ,`(("Prompt" | ||
266 | ,(concat eshell-prompt-regexp | ||
267 | "\\(.*\\)") | ||
268 | 1))))) | ||
263 | (set (make-local-variable (car setting)) (cdr setting))) | 269 | (set (make-local-variable (car setting)) (cdr setting))) |
264 | (dolist (binding `(("C-d" . +eshell-quit-or-delete-char))) | 270 | (dolist (binding `(("C-d" . +eshell-quit-or-delete-char))) |
265 | (define-key eshell-mode-map | 271 | (define-key eshell-mode-map |