all repos — nixfiles @ 026c476e282515694ab475954488ae28ce661d47

System and user configuration, managed by nix and home-manager

Emacs: Fix startup error from eshell keybind Really weird that I needed to bind the key inside a hook, anything else seemed to get evaluated before eshell was loaded

Alan Pearce
commit

026c476e282515694ab475954488ae28ce661d47

parent

7a9efc6c9276733b0496725725448445e4420f82

1 file changed, 2 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -942,6 +942,8 @@ (req-package eshell
:bind ("C-c s" . eshell) :config (progn (setq eshell-directory-name "~/.emacs.d/eshell") + (add-hook 'eshell-load-hook (lambda () + (bind-key "C-c C-l" #'helm-eshell-history eshell-mode-map))) (req-package em-smart :init (progn (setq eshell-where-to-jump 'begin