Subject: [bug#67120] [PATCH 12/14] gnu: Add emacs-shell-here.

From: Ian Eure <[email-masked]>
Date: Sat, 11 Nov 2023 20:16:16 -0800

* gnu/packages/emacs-xyz.scm (emacs-shell-here): New variable.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index eca8a868c4..c80ed1b28a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -36484,6 +36484,33 @@ (define-public emacs-shell-pop
 you use some other configuration.")
       (license license:gpl3+))))
 
+(define-public emacs-shell-here
+  (let ((commit "eeb437ff26d62a5009046b1b3b4503b768e3131a")
+        (version "1.3")
+        (revision "1"))
+    (package
+      (name "emacs-shell-here")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://codeberg.org/emacs-weirdware/shell-here.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0x8lnybxj7k6wj941lgqmm57f3qqnmb0gc7573l1fxwfhf39fl20"))))
+
+      (build-system emacs-build-system)
+      (home-page "https://codeberg.org/emacs-weirdware/shell-here")
+      (synopsis "Launch a shell relative to default-directory")
+      (description
+       "Open a shell buffer in (or relative to) default-directory,
+e.g. whatever directory the current buffer is in.  If you have projectile or
+find-file-in-project installed, you can also move around relative to the root
+of the current project.")
+      (license (list license:gpl3+)))))
+
 (define-public emacs-tshell
   ;; XXX: Upstream has no tagged release.  Version is extracted from keyword
   ;; in main file.
-- 
2.41.0