summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2024-05-22 18:25:02 +0200
committerAlan Pearce2024-05-22 18:25:02 +0200
commit12c5c317e243552f3c2fca66bef62bd28a82373a (patch)
treebb89b0cd0848266d8bb67755254df6f3eeb97f3a /user
parent2dd4760ca3e164a2650ec94645a7683148b15022 (diff)
downloadnixfiles-12c5c317e243552f3c2fca66bef62bd28a82373a.tar.lz
nixfiles-12c5c317e243552f3c2fca66bef62bd28a82373a.tar.zst
nixfiles-12c5c317e243552f3c2fca66bef62bd28a82373a.zip
emacs: start eshell-toggle from project root
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 6ffe393d..998b53bd 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -713,7 +713,9 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
 
 (use-package eshell-toggle
   :commands (eshell-toggle)
-  :general ("C-`" #'eshell-toggle))
+  :general ("C-`" #'eshell-toggle)
+  :config (progn
+            (setq eshell-toggle-find-project-root-package 'project)))
 
 (declare-function eshell-push-command "esh-buf-stack" (CMD))
 (defun my-bind-esh-push ()