diff options
author | Alan Pearce | 2013-05-28 19:44:06 +0100 |
---|---|---|
committer | Alan Pearce | 2013-05-28 19:44:06 +0100 |
commit | 833cdbc654cc90cb9c922fe80a9d9dcfb635e6e2 (patch) | |
tree | 5618e0deddc8fb0a5fa436cd4f10b047da739c21 /emacs | |
parent | 83923895305252c639019ffa2e0270f5cc54f614 (diff) | |
download | dotfiles-833cdbc654cc90cb9c922fe80a9d9dcfb635e6e2.tar.lz dotfiles-833cdbc654cc90cb9c922fe80a9d9dcfb635e6e2.tar.zst dotfiles-833cdbc654cc90cb9c922fe80a9d9dcfb635e6e2.zip |
Emacs: use em-smart package to return to previous command in eshell sessions
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el index 033ab4e..502a1ec 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -712,7 +712,14 @@ Also returns nil if pid is nil." (use-package eshell :defer t - :config (setq eshell-directory-name "~/.emacs.d/eshell")) + :config (progn + (setq eshell-directory-name "~/.emacs.d/eshell") + (use-package em-smart + :init (progn + (setq eshell-where-to-jump 'begin + eshell-review-quick-commands nil + eshell-smart-space-goes-to-end t) + (eshell-smart-initialize))))) (use-package shell :defer t |