aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorgyara <me@gyara.moe>2022-08-22 13:28:01 +0900
committerLudovic Courtès <ludo@gnu.org>2022-09-08 16:22:21 +0200
commit97cccd343363530c8577daa43deb9ca7528f0271 (patch)
tree9ab8762c02c1b6a596d0872af0dfb032825616b5 /gnu
parente05f7c55d78b90062aad26d8badc689ea72fe88b (diff)
downloadguix-97cccd343363530c8577daa43deb9ca7528f0271.tar
guix-97cccd343363530c8577daa43deb9ca7528f0271.tar.gz
gnu: zsh-autopair.
* gnu/packages/shellutils.scm (zsh-autopair): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/shellutils.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index 110cbe9fda..06860dc5b2 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -38,6 +38,7 @@
#: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,30 @@ chart.")
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
+ "This Zsh plugin auto-closes, deletes, and skips over matching delimiters
+in Zsh intelligently.")
+ (license license:expat)))
+
(define-public zsh-autosuggestions
(package
(name "zsh-autosuggestions")