summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-08-05 23:48:32 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-08-07 13:19:07 -0700
commit9fe994baa3fc929ec570964d894ce7569a3be75b (patch)
treeeaf4239c73e8b02af6b7e60543b01cd21a579a2f
parentc70636c9aae92683f806c260e3811d0fa71132e2 (diff)
downloaddotfiles-9fe994baa3fc929ec570964d894ce7569a3be75b.tar.gz
when no non-project Eshell, start one in homedir, not pwd
-rw-r--r--.emacs.d/init-spw.el3
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