summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorcoopi <coopi@noreply.codeberg.org>2026-04-28 11:59:30 +0400
committerCayetano Santos <csantosb@inventati.org>2026-05-02 16:59:10 +0200
commit74f2a35f1e709c8a4884c726ec6da1a97a82e6ce (patch)
tree9a49a22c795893f3c7470c2bc5db8e855edbbc59 /gnu
parent52a0e8b1b447c3d24344b68be49f068e8b4c3f10 (diff)
gnu: Add emacs-eshell-pure-prompt.
* gnu/packages/emacs-xyz.scm (emacs-eshell-pure-prompt): New variable. Merges guix/guix!8198 Change-Id: I702faa265418cf18d0fcc01eee01e2276c9aff7c Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2750a9076b..0e0ddd2908 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -42628,6 +42628,32 @@ will scroll the corresponding edit buffer. Additionally, you can overlay
information from the tags gathered by CEDET's semantic analyzer.)")
(license license:gpl3+)))
+(define-public emacs-eshell-pure-prompt
+ (package
+ (name "emacs-eshell-pure-prompt")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://codeberg.org/coopi/emacs-eshell-pure-prompt")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "11mcyyra19lhk09k50fpqwqs50rl0mxmwzv11bjrpl2bd7m2bmf2"))))
+ (build-system emacs-build-system)
+ (home-page "https://codeberg.org/coopi/emacs-eshell-pure-prompt")
+ (synopsis "Port of the Pure Zsh prompt for Eshell")
+ (description
+ "This package provides an Eshell prompt modeled after
+@uref{https://github.com/sindresorhus/pure, Sindre Sorhus' Pure Zsh prompt}.
+It displays the current working directory, Git branch and status (dirty,
+ahead/behind, stash), the active Python or Conda virtual environment, and the
+elapsed time of long-running commands. The prompt symbol changes color on
+command failure and a @code{user@@host} prefix appears on remote TRAMP
+connections.")
+ (license license:agpl3+)))
+
(define-public emacs-eshell-prompt-extras
(package
(name "emacs-eshell-prompt-extras")