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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61775 in the body.
You can then email your comments to 61775 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#61775
; Package
guix-patches
.
(Fri, 24 Feb 2023 23:05:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Timo Wilken <guix <at> twilken.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 24 Feb 2023 23:05:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This patch series adds two zsh shell extensions:
* zsh-history-substring-search, which lets the user search their shell history
by typing at the zsh prompt and pressing "up", and:
* zsh-completions, which contains completion info for commands not covered by
the built-in completion info in zsh itself.
While the packages are independent from each other, I'm sending them as a
patch series to make the whole thing easier to merge.
Timo Wilken (2):
gnu: Add zsh-history-substring-search
gnu: Add zsh-completions
gnu/packages/shellutils.scm | 55 +++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
base-commit: df8b8f0c76388239dac9f2892c97b92e92c92901
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61775
; Package
guix-patches
.
(Fri, 24 Feb 2023 23:06:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 61775 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61775
; Package
guix-patches
.
(Fri, 24 Feb 2023 23:06:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 61775 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/shellutils.scm (zsh-completions): New variable.
---
gnu/packages/shellutils.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 3553eaa4ed..4a2917cfa2 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -222,6 +222,32 @@ (define-public zsh-autosuggestions
as you type.")
(license license:expat)))
+(define-public zsh-completions
+ (package
+ (name "zsh-completions")
+ (version "0.34.0")
+ (home-page "https://github.com/zsh-users/zsh-completions")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0jjgvzj3v31yibjmq50s80s3sqi4d91yin45pvn3fpnihcrinam9"))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan '(("src/" "share/zsh/site-functions/")
+ ("README.md" "share/doc/zsh-completions/"))))
+ (synopsis "Additional completion definitions for Zsh")
+ (description
+ "This projects aims at gathering/developing new completion scripts that
+are not available in Zsh yet. The scripts may be contributed to the Zsh
+project when stable enough.")
+ (license (license:non-copyleft "file://LICENSE"
+ "Custom BSD-like, permissive, non-copyleft license."))))
+
(define-public zsh-history-substring-search
(package
(name "zsh-history-substring-search")
--
2.39.1
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Thu, 30 Mar 2023 21:18:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Timo Wilken <guix <at> twilken.net>
:
bug acknowledged by developer.
(Thu, 30 Mar 2023 21:18:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 61775-done <at> debbugs.gnu.org (full text, mbox):
Hi Timo,
Timo Wilken <guix <at> twilken.net> skribis:
> gnu: Add zsh-history-substring-search
> gnu: Add zsh-completions
Applied, thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 28 Apr 2023 11:24:16 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 16 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.