From: Timo Wilken <guix@twilken.net>
To: 61775@debbugs.gnu.org
Cc: Timo Wilken <guix@twilken.net>
Subject: [bug#61775] [PATCH 1/2] gnu: Add zsh-history-substring-search
Date: Sat, 25 Feb 2023 00:05:23 +0100 [thread overview]
Message-ID: <20230224230524.31292-1-guix@twilken.net> (raw)
In-Reply-To: <20230224230345.30823-1-guix@twilken.net>
* 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@hotmail.com>
;;; Copyright © 2021 Wiktor Żelazny <wzelazny@vurv.cz>
;;; Copyright © 2022 Jose G Perez Taveras <josegpt27@gmail.com>
+;;; Copyright © 2023 Timo Wilken <guix@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
next prev parent reply other threads:[~2023-02-24 23:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-24 23:03 [bug#61775] [PATCH 0/2] Add zsh shell niceties Timo Wilken
2023-02-24 23:05 ` Timo Wilken [this message]
2023-02-24 23:05 ` [bug#61775] [PATCH 2/2] gnu: Add zsh-completions Timo Wilken
2023-03-30 21:17 ` bug#61775: [PATCH 0/2] Add zsh shell niceties Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230224230524.31292-1-guix@twilken.net \
--to=guix@twilken.net \
--cc=61775@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.