diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-05 23:48:32 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-07 13:19:07 -0700 |
commit | 9fe994baa3fc929ec570964d894ce7569a3be75b (patch) | |
tree | eaf4239c73e8b02af6b7e60543b01cd21a579a2f | |
parent | c70636c9aae92683f806c260e3811d0fa71132e2 (diff) | |
download | dotfiles-9fe994baa3fc929ec570964d894ce7569a3be75b.tar.gz |
when no non-project Eshell, start one in homedir, not pwd
-rw-r--r-- | .emacs.d/init-spw.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el index f1394290..e6ed8132 100644 --- a/.emacs.d/init-spw.el +++ b/.emacs.d/init-spw.el @@ -981,7 +981,8 @@ to be run by the OS shell." (pop-to-buffer (ring-ref ring 0)) ;; return the ring, to be used by transient cycling functions ring) - (spw/eshell-here)))) + (let ((default-directory (expand-file-name "~"))) + (eshell t))))) ;; C-c e e is the main way to get back to the most recent shell session; C-c e ;; h and C-x p e are for when we don't have one yet for the current task (or |