From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QInzGlYGA2ObvQAAbAwnHQ (envelope-from ) for ; Mon, 22 Aug 2022 06:30:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sKsMGlYGA2PBLAEAG6o9tA (envelope-from ) for ; Mon, 22 Aug 2022 06:30:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A686C8AD for ; Mon, 22 Aug 2022 06:30:13 +0200 (CEST) Received: from localhost ([::1]:53426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPz4m-0001hY-Qo for larch@yhetil.org; Mon, 22 Aug 2022 00:30:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPz4d-0001hC-D6 for guix-patches@gnu.org; Mon, 22 Aug 2022 00:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPz4d-0000RE-34 for guix-patches@gnu.org; Mon, 22 Aug 2022 00:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPz4c-0003PW-UJ for guix-patches@gnu.org; Mon, 22 Aug 2022 00:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57333] [PATCH] gnu: zsh-autopair Resent-From: gyara Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Aug 2022 04:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57333 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57333@debbugs.gnu.org Cc: gyara X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166114259513069 (code B ref -1); Mon, 22 Aug 2022 04:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Aug 2022 04:29:55 +0000 Received: from localhost ([127.0.0.1]:37316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPz4V-0003Oj-29 for submit@debbugs.gnu.org; Mon, 22 Aug 2022 00:29:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:43790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPz4Q-0003OY-8U for submit@debbugs.gnu.org; Mon, 22 Aug 2022 00:29:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPz4Q-0001gR-3R for guix-patches@gnu.org; Mon, 22 Aug 2022 00:29:50 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:33706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPz4O-0000Hy-Ar for guix-patches@gnu.org; Mon, 22 Aug 2022 00:29:49 -0400 Received: by mail-wr1-x42b.google.com with SMTP id k9so11703444wri.0 for ; Sun, 21 Aug 2022 21:29:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gyara.moe; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=HB4dCYCkGkjmIpHvCdk42rZIkzlyaLuaILpgZ9xvIG0=; b=K6GJIZTGaHpC+OX6lvY85VaMoYyKNgiPzEw6GhhXVmWYyRdlEY5d/7NKX53uq5QxB+ fr927rnpxVrXjKnK7IXPrfSHFTc6DeZdhvulRRBNE+ZpsgGgEq4Jv3sksd+cc4qLbsrc Qm3xCb6A6K//ZbznhE89CA5y/xFHbJQQFfaHuF5mV2kf+ygUCejim01BmBtuSCEU97Py o+F4m/rsb6qAk2Fx8yQdx9OXqyK6gre/uMqVu++R78dznrFGlqgR5/rnpKvnkJbV1X4c g8t0+PWj6JIilPr31R0mRgSOVLPoRNKID248Pt2DTEIPiJD6jBqPg4nSQ/Rm+7jhn/e1 pGhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=HB4dCYCkGkjmIpHvCdk42rZIkzlyaLuaILpgZ9xvIG0=; b=TBT4y54VfuA25T1OoTZVR2q0mQvyQQumXzotjIR4tEX8/aanpAGQCoF9EXyLvsroWt dyNSRBmZKghAJvWT9098PPk0XhjbPagsHtaM5eUW8VvF8UzPLAcOEEb8JrRHQknKYZJN vXdw+ikiMLl7qbj0v0UYCsRj7NOiyXNqjv+oD0ZOFDyD1IP52g4IPbe4TiGJY5nkn+fL LEKcVBbAEYijk9hz5Jmv3ArrWn8U62ytZF/eRVNaM1ohJLDOHerQnmbTq2OOrsNxn3c5 TJlZCQAIkbY02rSwTthFTt/2bJyZK8B8Uc8M/r4/BtUHdIZHHvItvdqs2C+hCFMFIUTL 7FzQ== X-Gm-Message-State: ACgBeo3sK1wJT2MCjK4zonDDc5wegdIW1MxRjc1lRrTOT3i/wkotl2XX SkpjGVR4aLe0bTPFMcsR1MB145slwkge3n+8PbA= X-Google-Smtp-Source: AA6agR5k3BdQPNZVpzonRTea5iQAWCAwM46CivOnuHXDZ2cBL3fCav/bH1p90oPdyDBpRYPp2pelwg== X-Received: by 2002:a5d:4a11:0:b0:225:2f5e:c704 with SMTP id m17-20020a5d4a11000000b002252f5ec704mr9434991wrq.703.1661142586394; Sun, 21 Aug 2022 21:29:46 -0700 (PDT) Received: from localhost (tor-exit-3.zbau.f3netze.de. [185.220.100.254]) by smtp.gmail.com with ESMTPSA id j4-20020a05600c42c400b003a5c064717csm15277113wme.22.2022.08.21.21.29.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Aug 2022 21:29:45 -0700 (PDT) Date: Mon, 22 Aug 2022 13:28:01 +0900 Message-Id: <20220822042800.1564-1-me@gyara.moe> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=me@gyara.moe; helo=mail-wr1-x42b.google.com X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: gyara X-ACL-Warn: , gyara via Guix-patches From: gyara via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661142614; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=HB4dCYCkGkjmIpHvCdk42rZIkzlyaLuaILpgZ9xvIG0=; b=qHh8kI5ujTCEy7zDSR+OpMYcF/DlJ33Mq55lI9AFDPeTZavkXFHQ1FhdZKX8RPPdiTpbRg ZZ7OLoOXsa6pSBnDpa7R53Eia7oRLXwwSanrmhkRHvdV5P+wzVux/YXSQWcem8P/pgrogx ifHWd1fwmDxo4i+/T4IhTQC10E3qUi2fPp8vjhBQ3iAxsJdDIcPfhvNEz+uE1QwEPg3PKm X5rwO1nzwfQajOcAwXJacTod5vpGoMs6DKGtoXifuHF5MBMENov6er4ShW6hMAtKGs7mdx 2wS0C1Q37tXD+SKWmiK4D3mlAvbiiRVhcl13o8QSnHfaKD0pNOlQKTdyTrUk5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661142614; a=rsa-sha256; cv=none; b=n4AJBW0USfhq/o0o1v+XE6ClqFDNhy+D2qCrZjk+kBaXcg0oXc2LLAglqFnem+j/AyqveN JgyWe6TObvQXxAUfNMgTq6Fggd4IEdW7AKPp4YQnNDR/MzFjxCtcUCJ4uC/X0PYHM98+b/ 7Gmh9EF0zfpbob+XQyAcZSeW9yqf2ep9uIm15S3Y16IJGFSzTBonARFtSnsKczD8Ry5CB4 Adi7ZuxcHmY4QYD3GA8ZcKyYb4PoiE1eRwsuzsuyWmmkOMv6cktmqGnsqa5TtmOnefcDtC 2Gwcee+wk9HioyM4pTSS31ojyMK14mUCa1KiHNrbIfWsUvHyn1NPG3Z+hjZcYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gyara.moe header.s=google header.b=K6GJIZTG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gyara.moe header.s=google header.b=K6GJIZTG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A686C8AD X-Spam-Score: 2.28 X-Migadu-Scanner: scn1.migadu.com X-TUID: 97NXdmvzq+vc --- 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