GNU bug report logs - #57333
[PATCH] gnu: zsh-autopair

Previous Next

Package: guix-patches;

Reported by: gyara <me <at> gyara.moe>

Date: Mon, 22 Aug 2022 04:30:02 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 57333 in the body.
You can then email your comments to 57333 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57333; Package guix-patches. (Mon, 22 Aug 2022 04:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to gyara <me <at> gyara.moe>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 22 Aug 2022 04:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: gyara <me <at> gyara.moe>
To: guix-patches <at> gnu.org
Cc: gyara <me <at> gyara.moe>
Subject: [PATCH] gnu: zsh-autopair
Date: Mon, 22 Aug 2022 13:28:01 +0900
---

This patch added zsh-autopair, a zsh plugin that auto-closes, deletes
and skips over matching delimiters in zsh intelligently to guix.

 gnu/packages/shellutils.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 110cbe9fda..295bece21c 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -38,6 +38,7 @@ (define-module (gnu packages shellutils)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix git-download)
+  #:use-module (guix build-system copy)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix build-system python)
@@ -145,6 +146,29 @@ (define-public boxes
 text.")
     (license license:gpl2)))
 
+(define-public zsh-autopair
+  (package
+    (name "zsh-autopair")
+    (version "1.0")
+    (home-page "https://github.com/hlissner/zsh-autopair")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hlissner/zsh-autopair.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1h0vm2dgrmb8i2pvsgis3lshc5b0ad846836m62y8h3rdb3zmpy1"))))
+    (build-system copy-build-system)
+    (arguments
+     '(#:install-plan '(("autopair.zsh"
+                         "/share/zsh/plugins/zsh-autopair/zsh-autopair.zsh"))))
+    (synopsis "Auto-close and delete matching delimiters in zsh")
+    (description
+     "A simple plugin that auto-closes, deletes and skips over matching delimiters in zsh intelligently.")
+    (license license:expat)))
+
 (define-public zsh-autosuggestions
   (package
     (name "zsh-autosuggestions")
-- 
2.37.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 08 Sep 2022 12:41:02 GMT) Full text and rfc822 format available.

Notification sent to gyara <me <at> gyara.moe>:
bug acknowledged by developer. (Thu, 08 Sep 2022 12:41:02 GMT) Full text and rfc822 format available.

Message #10 received at 57333-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: gyara <me <at> gyara.moe>
Cc: 57333-done <at> debbugs.gnu.org
Subject: Re: bug#57333: [PATCH] gnu: zsh-autopair
Date: Thu, 08 Sep 2022 14:40:26 +0200
Hi,

gyara <me <at> gyara.moe> skribis:

> ---
>
> This patch added zsh-autopair, a zsh plugin that auto-closes, deletes
> and skips over matching delimiters in zsh intelligently to guix.

I tweaked the description¹ and commit log² and applied it.

Thanks!

Ludo’.

¹ https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html
² https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 Oct 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 200 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.