summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorIan Eure <ian@retrospec.tv>2023-11-14 18:13:22 -0800
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-11-23 09:29:05 +0100
commit09ed237d624a341f8ca349f729f571536a81d1e4 (patch)
treed9f8a8003288a273eaac48cab7f7619dee9ea48f /gnu
parente72af64dd3be94cdb1eaa7bdf80a1fd26b671dbd (diff)
downloadguix-09ed237d624a341f8ca349f729f571536a81d1e4.tar.gz
gnu: Add emacs-shell-here.
* gnu/packages/emacs-xyz.scm (emacs-shell-here): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e7c58c9459..4969dabb19 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -36465,6 +36465,30 @@ easily.  Four pre-set options are: @samp{shell}, @samp{terminal},
 you use some other configuration.")
       (license license:gpl3+))))
 
+(define-public emacs-shell-here
+  (let ((commit "eeb437ff26d62a5009046b1b3b4503b768e3131a")
+        (revision "1"))
+    (package
+      (name "emacs-shell-here")
+      (version (git-version "1.3" 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
+       "This package provides commands to open a shell buffer in (or relative
+to) the default-directory or – using projectile or find-file-in-project – a
+project root.")
+      (license (list license:gpl3+)))))
+
 (define-public emacs-tshell
   ;; XXX: Upstream has no tagged release.  Version is extracted from keyword
   ;; in main file.