aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init/oni-eshell-init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-11-09 14:58:56 +0100
committerGravatar Tom Willemse2016-11-09 14:58:56 +0100
commitc8f73dedb2a9796a07305a1d4f798b5041963816 (patch)
treec7a8c18104e5cbfe5e6bf8fb4ea15bb582386725 /emacs/.emacs.d/init/oni-eshell-init.org
parent7f1573b91ab772f9d08880759860093286de8747 (diff)
downloadnew-dotfiles-c8f73dedb2a9796a07305a1d4f798b5041963816.tar.gz
new-dotfiles-c8f73dedb2a9796a07305a1d4f798b5041963816.zip
Fix eshell keybinding
For some reason the ‘eshell-mode-map’ isn’t defined the first time the ‘eshell-load-hook’ runs.
Diffstat (limited to 'emacs/.emacs.d/init/oni-eshell-init.org')
-rw-r--r--emacs/.emacs.d/init/oni-eshell-init.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init/oni-eshell-init.org b/emacs/.emacs.d/init/oni-eshell-init.org
index e9629b4..b3c6391 100644
--- a/emacs/.emacs.d/init/oni-eshell-init.org
+++ b/emacs/.emacs.d/init/oni-eshell-init.org
@@ -42,5 +42,5 @@ buffer.
(defun oni:set-eshell-C-d ()
(define-key eshell-mode-map (kbd "C-d") #'oni:eshell-C-d))
- (add-hook 'eshell-load-hook #'oni:set-eshell-C-d)
+ (add-hook 'eshell-first-time-mode-hook #'oni:set-eshell-C-d)
#+END_SRC