unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57333] [PATCH] gnu: zsh-autopair
@ 2022-08-22  4:28 gyara via Guix-patches via
  2022-09-08 12:40 ` bug#57333: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: gyara via Guix-patches via @ 2022-08-22  4:28 UTC (permalink / raw)
  To: 57333; +Cc: gyara

---

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#57333: [PATCH] gnu: zsh-autopair
  2022-08-22  4:28 [bug#57333] [PATCH] gnu: zsh-autopair gyara via Guix-patches via
@ 2022-09-08 12:40 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-09-08 12:40 UTC (permalink / raw)
  To: gyara; +Cc: 57333-done

Hi,

gyara <me@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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-08 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-22  4:28 [bug#57333] [PATCH] gnu: zsh-autopair gyara via Guix-patches via
2022-09-08 12:40 ` bug#57333: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).