branch: externals/ergoemacs-mode
commit 8c0e8f7cc72458c1556ff023a2c47db87715bfbb
Author: Walter Landry <wlan...@caltech.edu>
Commit: Walter Landry <wlan...@caltech.edu>

    Fix beginning of line binding in eshell
---
 ergoemacs-themes.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index ec0a7c6..5a805cf 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -1245,8 +1245,7 @@ calling any other ergoemacs-set-* function"
   (ergoemacs-unset-keys-in-map eshell-mode-map)
   (ergoemacs-define-key eshell-mode-map (kbd "M-h") 'eshell-bol)
   )
-(with-eval-after-load 'esh-mode
-  (add-hook 'eshell-first-time-mode-hook #'ergoemacs-install-eshell-bindings))
+(add-hook 'eshell-post-command-hook #'ergoemacs-install-eshell-bindings)
 
 (defun ergoemacs-install-comint-bindings ()
   (define-key comint-mode-map [remap move-beginning-of-line] 'comint-bol)

Reply via email to