GNU bug report logs -
#61775
[PATCH 0/2] Add zsh shell niceties
Previous Next
Reported by: Timo Wilken <guix <at> twilken.net>
Date: Fri, 24 Feb 2023 23:05:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/shellutils.scm (zsh-history-substring-search): New variable.
---
gnu/packages/shellutils.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 64cc818d65..3553eaa4ed 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
;;; Copyright © 2021 Wiktor Żelazny <wzelazny <at> vurv.cz>
;;; Copyright © 2022 Jose G Perez Taveras <josegpt27 <at> gmail.com>
+;;; Copyright © 2023 Timo Wilken <guix <at> twilken.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -221,6 +222,34 @@ (define-public zsh-autosuggestions
as you type.")
(license license:expat)))
+(define-public zsh-history-substring-search
+ (package
+ (name "zsh-history-substring-search")
+ (version "1.0.2")
+ (home-page "https://github.com/zsh-users/zsh-history-substring-search")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0y8va5kc2ram38hbk2cibkk64ffrabfv1sh4xm7pjspsba9n5p1y"))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan '(("zsh-history-substring-search.plugin.zsh"
+ "share/zsh/plugins/zsh-history-substring-search/")
+ ("zsh-history-substring-search.zsh"
+ "share/zsh/plugins/zsh-history-substring-search/")
+ ("README.md" "share/doc/zsh-history-substring-search/"))))
+ (synopsis "ZSH port of Fish history search (up arrow)")
+ (description
+ "This is a clean-room implementation of the Fish shell's history search
+feature, where you can type in any part of any command from history and then
+press chosen keys, such as the UP and DOWN arrows, to cycle through matches.")
+ (license license:bsd-3)))
+
(define-public zsh-syntax-highlighting
(package
(name "zsh-syntax-highlighting")
--
2.39.1
This bug report was last modified 2 years and 114 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.