Fix #4176: eshell keybinds bound too soon
eshell-mode-map is defined in esh-mode.el, which isn't loaded immediately by eshell.el.
This commit is contained in:
parent
8eb8f41b33
commit
1b44cf9215
1 changed files with 9 additions and 7 deletions
|
@ -116,8 +116,10 @@ You should use `set-eshell-alias!' to change this.")
|
|||
(setq +eshell--default-aliases eshell-command-aliases-list
|
||||
eshell-command-aliases-list
|
||||
(append eshell-command-aliases-list
|
||||
+eshell-aliases))))
|
||||
+eshell-aliases)))))
|
||||
|
||||
|
||||
(after! esh-mode
|
||||
(map! :map eshell-mode-map
|
||||
:n "RET" #'+eshell/goto-end-of-prompt
|
||||
:n [return] #'+eshell/goto-end-of-prompt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue