mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix: tools/eshell: set prompt-regexp to what eshell expects
eshell-prompt-regexp has to be in sync with eshell-prompt-function otherwise certain eshell behavior will not work properly For example: eshell-bol
This commit is contained in:
@ -18,6 +18,7 @@
|
|||||||
eshell-buffer-shorthand t
|
eshell-buffer-shorthand t
|
||||||
eshell-kill-processes-on-exit t
|
eshell-kill-processes-on-exit t
|
||||||
;; em-prompt
|
;; em-prompt
|
||||||
|
eshell-prompt-regexp "^.* λ "
|
||||||
eshell-prompt-function #'+eshell/prompt
|
eshell-prompt-function #'+eshell/prompt
|
||||||
;; em-glob
|
;; em-glob
|
||||||
eshell-glob-case-insensitive t
|
eshell-glob-case-insensitive t
|
||||||
@ -50,6 +51,7 @@ redefines its keys every time `eshell-mode' is enabled."
|
|||||||
:i "<tab>" #'eshell-pcomplete
|
:i "<tab>" #'eshell-pcomplete
|
||||||
:i "C-u" #'eshell-kill-input
|
:i "C-u" #'eshell-kill-input
|
||||||
:i "SPC" #'self-insert-command
|
:i "SPC" #'self-insert-command
|
||||||
|
:i "C-a" #'eshell-bol
|
||||||
:m "<return>" #'+eshell/evil-append
|
:m "<return>" #'+eshell/evil-append
|
||||||
:n [remap evil-window-split] #'+eshell/split
|
:n [remap evil-window-split] #'+eshell/split
|
||||||
:n [remap evil-window-vsplit] #'+eshell/vsplit
|
:n [remap evil-window-vsplit] #'+eshell/vsplit
|
||||||
|
Reference in New Issue
Block a user