From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 09 23:14:33 2019 Received: (at submit) by debbugs.gnu.org; 10 Sep 2019 03:14:34 +0000 Received: from localhost ([127.0.0.1]:40818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7Wbx-00064m-JJ for submit@debbugs.gnu.org; Mon, 09 Sep 2019 23:14:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:59425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7Wbw-00064c-0o for submit@debbugs.gnu.org; Mon, 09 Sep 2019 23:14:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37895) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7Wbu-0002yM-Rl for guix-patches@gnu.org; Mon, 09 Sep 2019 23:14:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7Wbr-0004iw-S2 for guix-patches@gnu.org; Mon, 09 Sep 2019 23:14:30 -0400 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]:44229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i7Wbr-0004iq-Lx for guix-patches@gnu.org; Mon, 09 Sep 2019 23:14:27 -0400 Received: by mail-io1-xd2f.google.com with SMTP id j4so34123325iog.11 for ; Mon, 09 Sep 2019 20:14:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rekahsoft.ca; s=google; h=user-agent:from:to:subject:date:message-id:mime-version; bh=h5KCZVCMKF7xJCC17pPIdZqOSRFPY+Ae66/upYzEtr8=; b=wPXRebYMRnfMSm2kPZbN9QaGKziD6P3SmFgBNrsknn4TRxsM42AGdLcYfVkXOW1stp 4S81TnjjpwqSs+B9pCCpRrfv0BaVP/Cff+tDtfqmuIcms/0q1e9bkDUilyFmAn7FDVS8 WcvQXvfJ5WSG6E5BZ9qyae+kk5Ed8tGoEDZNwwGuwZMZL0LD+rDLkmcYepM/AKHSWEdX xnJ22F2YyP1lE7ilzUYBI9QEqsjArA9IXYmZZlHCN11wEqN6zJXNtPxDZPaexOradYm5 1Mc7vS6R///zbWeLg9uhgg24w0UewhlAm6vGBxNf6AGVwi4evc4JEedeXiZw85wcjUmA /FeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=h5KCZVCMKF7xJCC17pPIdZqOSRFPY+Ae66/upYzEtr8=; b=D6oBjDspME5pps4X8Y61me0bwGdy7R25Hlxa1y2QDkMPVqvV1W3B2ubzjfTW+KhB+M FQUI9sAhzdv9kiWNrRFjh5bzColcWnfcM1IWK9evDKgI9zgsqPSqKHFFkA51++OaA+XG JjqA5VK4xVVggkGSJV1g5aX/P/RP6PH+og248HKG2ajJIYQn49lmEK7dsAFxkOU/6T4X vu56IgV7KL8FN4603wjuukkB9l6kAkQG3IqXKqbrFrHIu0sZiTkJp4n1XmlpDm/Sg1Bj ZEcaQvDK/1L+R7asf/Pp9lN8gmwE90zY/JdmIFJb+euPHQxDreN1qiOsjlfGeMo/XJ+s nk1A== X-Gm-Message-State: APjAAAVE5LB/Dd0diTGn59Gk/bzGGBCS4DHdpSr7Kt9BY0IUUrTbZp0D EPX50Mo6B3hLox9DpzMKjo/XpX1sKSoP/bsx X-Google-Smtp-Source: APXvYqzKsUgO+K7Otn68R9LIirGUBYsobpBF6mMELwE+wYrdiPO4xDLhrGDIG9BXhxTsXMa8WSPCeA== X-Received: by 2002:a5d:97da:: with SMTP id k26mr22483649ios.56.1568085266549; Mon, 09 Sep 2019 20:14:26 -0700 (PDT) Received: from rekahsoft-mini ([2607:fea8:1c60:690::6]) by smtp.gmail.com with ESMTPSA id d1sm12797721iok.17.2019.09.09.20.14.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 20:14:25 -0700 (PDT) User-agent: mu4e 1.0; emacs 26.3 From: "Collin J. Doering" To: guix-patches@gnu.org Subject: [PATCH] Add package zsh-autosuggestions Date: Mon, 09 Sep 2019 23:14:23 -0400 Message-ID: <87tv9k3ks0.fsf@rekahsoft.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d2f X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) --=-=-= Content-Type: text/plain Add package for zsh-autosuggestions. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-zsh-autosuggestions.patch Content-Description: zsh-autosuggestions package patch [1/1] >From 5ad67c522f0859544bf8bbcb911cc607724f25cf Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Mon, 9 Sep 2019 23:08:20 -0400 Subject: [PATCH] gnu: Add zsh-autosuggestions * gnu/packages/shellutils.scm (zsh-autosuggestions): New variable. Signed-off-by: Collin J. Doering --- gnu/packages/shellutils.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index f7542ea759..fd84d353ee 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -228,3 +228,35 @@ commands that are obsolete or contain a piece of sensitive information) or bookmark your favourite commands.") (home-page "http://me.mindforger.com/projects/hh.html") (license license:asl2.0))) + +(define-public zsh-autosuggestions + (package + (name "zsh-autosuggestions") + (version "0.6.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zsh-users/zsh-autosuggestions.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "16vbpcsjs5lapp9sb4vnp6yqjc5c0a756p1vn5jsjm7whyfag5kd")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (install-path (string-append out "/share/zsh/plugins/zsh-autosuggestions"))) + (mkdir-p install-path) + (invoke "make" "all") + (copy-file "zsh-autosuggestions.zsh" (string-append install-path "/zsh-autosuggestions.zsh")))))))) + (synopsis "Fish-like autosuggestions for zsh") + (description + "Fish-like fast/unobtrusive autosuggestions for zsh. It suggests commands as you type.") + (home-page "https://github.com/zsh-users/zsh-autosuggestions.git") + (license license:expat))) -- 2.23.0 --=-=-= Content-Type: text/plain -- Collin J. Doering http://rekahsoft.ca http://blog.rekahsoft.ca http://git.rekahsoft.ca --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 09 23:27:36 2019 Received: (at 37365) by debbugs.gnu.org; 10 Sep 2019 03:27:36 +0000 Received: from localhost ([127.0.0.1]:40828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7Woa-0006R5-7C for submit@debbugs.gnu.org; Mon, 09 Sep 2019 23:27:36 -0400 Received: from mail-io1-f43.google.com ([209.85.166.43]:41288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7WoY-0006Qq-5u for 37365@debbugs.gnu.org; Mon, 09 Sep 2019 23:27:34 -0400 Received: by mail-io1-f43.google.com with SMTP id r26so34106543ioh.8 for <37365@debbugs.gnu.org>; Mon, 09 Sep 2019 20:27:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rekahsoft.ca; s=google; h=user-agent:from:to:subject:date:message-id:mime-version; bh=t23fhp7NqIaxe3j/LTV60faBwKlGQ+LcX3QandMFlL4=; b=PVJUARlme3G49UytdHtr4Jb9zHOdL0zqfhhJmHsNTxG9tHTJ2MVTnk7dahnaFsgV3J MbOlsknBbbXFBYd0lXbXPWWO9f1ANMDPOTcccmwDG3rupfd2AfZKupaqRriOhQw1ngEP 6GaXcsVLarZfjyrOBBRcH3OJrzj9CJ4rve1gFSu2aBrbeyoAxXsa9pmbm0xy3XlanPTU MukM8vmbyvq/UIJzw/skthwJ9+mnAbZvJz3ahBEFIdKm2lVxm8GUzkUtqF0htYCXY/zX PrP77A3To6+b+jniz8wRh90rQMaRz/ORhCT6nAI/wxVTFhezQMUJ4ZP0Ie12knzWkiH0 N3uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=t23fhp7NqIaxe3j/LTV60faBwKlGQ+LcX3QandMFlL4=; b=teouHzXsVUrEjMhU7Hb7Yw0JpOzNbKCxEGO2pc7ZxzqC67CHCN+X1aU3as9sLXZpc+ VAW2ZvUhU7uYLZub1dM0PgmSYx+b8oK2AjcUejxLp2ArH7Ajy6kLcycPgPCQLt1beTuS wrLGLtwavu432ScFVcz2uv8UEly3s/OkWSdOipzHy+Tb0Dv5JOM2ZXS3k0OQd3cyhCmn +8+uQKdrz9wnn/OwrmgASYC8zvNmzGqA9kSFYedmUXCKekUwZPyk6GyUEhs8GUYaZJnx LJuEF42VxiqB/+GxfieoHYJc6djy3WGFQYPerHN6UlYzKNONysgMyo4X8E+Tma2hZsk7 aMWQ== X-Gm-Message-State: APjAAAXgu62JWTUDgEAUQQYZI/RjlQeJyyqn7vaGeAG58da4el/HVBP2 wjAK4nKA9S0QcyTDi+x4wePgimUgX176oQ/f X-Google-Smtp-Source: APXvYqxOrbJfdEmKheqUgOIRQ4z5StXxLANmUGwXyFYiJBA22uPMS3X1yV1HRwb2WapR4kaPMu1N2Q== X-Received: by 2002:a5e:8b49:: with SMTP id z9mr16340426iom.304.1568086048066; Mon, 09 Sep 2019 20:27:28 -0700 (PDT) Received: from rekahsoft-mini ([2607:fea8:1c60:690::6]) by smtp.gmail.com with ESMTPSA id k22sm11331532iom.45.2019.09.09.20.27.26 for <37365@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 20:27:27 -0700 (PDT) User-agent: mu4e 1.0; emacs 26.3 From: "Collin J. Doering" To: 37365@debbugs.gnu.org Subject: [PATCH] Ammendment - zsh-autosuggestions Date: Mon, 09 Sep 2019 23:27:25 -0400 Message-ID: <87sgp43k6a.fsf@rekahsoft.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 37365 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) --=-=-= Content-Type: text/plain I failed to run `guix lint` prior to submitting the patch in my previous submission. I have included the updated patch here. Please disregard the earlier patch and use this one instead. Thank you. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-zsh-autosuggestions.patch Content-Description: zsh-autosuggestions package patch (Ammendment) [1/1] >From 9a888e233d9dee1e307f8fd270ddf9c09b9418ab Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Mon, 9 Sep 2019 23:24:05 -0400 Subject: [PATCH] gnu: Add zsh-autosuggestions * gnu/packages/shellutils.scm (zsh-autosuggestions): New variable. Signed-off-by: Collin J. Doering --- gnu/packages/shellutils.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index f7542ea759..73fbed0d6c 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -228,3 +228,38 @@ commands that are obsolete or contain a piece of sensitive information) or bookmark your favourite commands.") (home-page "http://me.mindforger.com/projects/hh.html") (license license:asl2.0))) + +(define-public zsh-autosuggestions + (package + (name "zsh-autosuggestions") + (version "0.6.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zsh-users/zsh-autosuggestions.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1h8h2mz9wpjpymgl2p7pc146c1jgb3dggpvzwm9ln3in336wl95c")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (install-path (string-append + out "/share/zsh/plugins/zsh-autosuggestions"))) + (mkdir-p install-path) + (invoke "make" "all") + (copy-file "zsh-autosuggestions.zsh" + (string-append install-path "/zsh-autosuggestions.zsh")))))))) + (synopsis "Fish-like autosuggestions for zsh") + (description + "Fish-like fast/unobtrusive autosuggestions for zsh. It suggests commands +as you type.") + (home-page "https://github.com/zsh-users/zsh-autosuggestions.git") + (license license:expat))) -- 2.23.0 --=-=-= Content-Type: text/plain -- Collin J. Doering http://rekahsoft.ca http://blog.rekahsoft.ca http://git.rekahsoft.ca --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 10 10:37:30 2019 Received: (at 37365) by debbugs.gnu.org; 10 Sep 2019 14:37:30 +0000 Received: from localhost ([127.0.0.1]:41546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7hGo-0007f1-HP for submit@debbugs.gnu.org; Tue, 10 Sep 2019 10:37:30 -0400 Received: from mail-io1-f54.google.com ([209.85.166.54]:40100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7hGk-0007ei-E8 for 37365@debbugs.gnu.org; Tue, 10 Sep 2019 10:37:25 -0400 Received: by mail-io1-f54.google.com with SMTP id h144so37963359iof.7 for <37365@debbugs.gnu.org>; Tue, 10 Sep 2019 07:37:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rekahsoft.ca; s=google; h=user-agent:from:to:subject:date:message-id:mime-version; bh=XzJs0SFLI59pmzpiUwX3R9YJgxvmm2yjFH+tMRsEVxQ=; b=fP5FxLywbMcZRTSjswQr/rSROtMbap2m8kmUb5b9x5e4zguFjWw3D7x+JLgsTGmLZA +0oXcHjqrc/ChPgS2C1hnnNnSgQMkke5P4eF3SPNsC8Te58tdnmSpPW6bNOMwhizV21p X6lGKlyJIpm1o7cj2jhYNSjjccvS8G48qjjQ17cCNgHnGQpoMMr+8snSvAupIsd8FlP6 ujwQZ228lVrAaS2ImwZSso5BCS2WDw2j09EJtDQVDnj8HaoQ6VPyQIFoWBPqOgNWqEk6 SaHb9hE7z7sYAJi2q8fpO4lXOJyk9pbd4p02FAAaBsDfwPDZcwNTR8TnLsNULice15II qRVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=XzJs0SFLI59pmzpiUwX3R9YJgxvmm2yjFH+tMRsEVxQ=; b=d/PC6o53zOsvrurGZhqdUB2nRAXycfp0F209Z2sOXV843t5fjHEB+yQ6jfHqG7Lxyp pqM6x/9pNek5WR7wpMN9EDxcNuIDeo/oneXylwHtdiAwo+sOG4W7iQyi6RNm19uh13YP 6bNz4+96P6q/V1e+lfz7NtQGjbloSFPSn2jsDpbHzEZz0KbVerbMq/UvA3Z9r+bMeScp vlqjFwRvh32W42ReRoOOH9l6RGglLIgYtnCHdRsqvybczIEk4asoN5voUeB7W1Yq6CJ4 ZmBMa2BkAtNhiV1R8grf/OqWLZI2HaUS/VOobQJzWmHtE4CT90V8SCw3mA1x7z919uWu iDzA== X-Gm-Message-State: APjAAAVAULbL4CdV9ORMq/RDo27Av9G6DqD3Pg7RROmKlleZjMOEY9j4 kwqzAyiabjQ5kO6nf4ZNxSyblfr1mHpBe4n9 X-Google-Smtp-Source: APXvYqyv2NYZSuoe14rWihUmLuJLVfWiFlIiV4OO87MxIAMHnq/Zptk+I4pK6t0CvlomkoH91IEY3A== X-Received: by 2002:a6b:b445:: with SMTP id d66mr2068724iof.269.1568126236273; Tue, 10 Sep 2019 07:37:16 -0700 (PDT) Received: from rekahsoft-mini ([2607:fea8:1c60:690::6]) by smtp.gmail.com with ESMTPSA id q5sm11134878iob.65.2019.09.10.07.37.14 for <37365@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2019 07:37:15 -0700 (PDT) User-agent: mu4e 1.0; emacs 26.3 From: "Collin J. Doering" To: 37365@debbugs.gnu.org Subject: [PATCH] - Amendment #2: and copyright line and sign message with gpg Date: Tue, 10 Sep 2019 10:37:10 -0400 Message-ID: <87r24o2p61.fsf@rekahsoft.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 37365 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) --=-=-= Content-Type: text/plain I apologize for the churn on this patch. I had forgotten a Copyright line at the top of the modified file. Kind regards, --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE+NVG868371PRtki+e03rkyErMCIFAl13tRYACgkQe03rkyEr MCKdCwf+Ntu4se6+SRzdXywhExMgYcKMrT5ESNroXYCjc/K+Nv7kX6khPLqkNYIK 3LSw92jEni/V3/+yX5dNbnu36iVEZn0OjhmQ+Hdf9F+D4p0rAZaUyd8oGAuAhUxa betRxy4UZ6PBFHADuJogFAgmOEK35rcfH9/RyXJyXvAXGyZNRIodceic+Rw8mpyh vA5Whh6p4V9YQR4QGO5TtvYf/XWcx2k3aR1lE3tBW9S3wd1jHapQOLqPiDkzBnr9 d2yO7I5gZZG3Cwt+oiAxl7ml8dPa5akTO9pkqxF3CoFZqJHxKOW/31MXt218ByOe CsMk4g2H8TGsqLU6QeqwYv7shTzLEA== =XKdF -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-zsh-autosuggestions.patch Content-Transfer-Encoding: quoted-printable Content-Description: zsh-autosuggestions package patch (Ammendment 2) [1/1] >From 54f0a4c9daae8ee38e3e575264fee1c5ffcfe54a Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Tue, 10 Sep 2019 10:31:34 -0400 Subject: [PATCH] gnu: Add zsh-autosuggestions * gnu/packages/shellutils.scm (zsh-autosuggestions): New variable. Signed-off-by: Collin J. Doering --- gnu/packages/shellutils.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index f7542ea759..f8227424e3 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2017 Stefan Reich=C3=B6r ;;; Copyright =C2=A9 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Benjamin Slade +;;; Copyright =C2=A9 2019 Collin J. Doering ;;; ;;; This file is part of GNU Guix. ;;; @@ -228,3 +229,38 @@ commands that are obsolete or contain a piece of sensi= tive information) or bookmark your favourite commands.") (home-page "http://me.mindforger.com/projects/hh.html") (license license:asl2.0))) + +(define-public zsh-autosuggestions + (package + (name "zsh-autosuggestions") + (version "0.6.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zsh-users/zsh-autosuggestions= .git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1h8h2mz9wpjpymgl2p7pc146c1jgb3dggpvzwm9ln3in336wl95c")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (install-path (string-append + out "/share/zsh/plugins/zsh-autosuggest= ions"))) + (mkdir-p install-path) + (invoke "make" "all") + (copy-file "zsh-autosuggestions.zsh" + (string-append install-path "/zsh-autosuggestion= s.zsh")))))))) + (synopsis "Fish-like autosuggestions for zsh") + (description + "Fish-like fast/unobtrusive autosuggestions for zsh. It suggests com= mands +as you type.") + (home-page "https://github.com/zsh-users/zsh-autosuggestions.git") + (license license:expat))) --=20 2.23.0 --=-=-= Content-Type: text/plain -- Collin J. Doering http://rekahsoft.ca http://blog.rekahsoft.ca http://git.rekahsoft.ca --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 10 23:19:10 2019 Received: (at 37365) by debbugs.gnu.org; 11 Sep 2019 03:19:10 +0000 Received: from localhost ([127.0.0.1]:41921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7t9y-00055i-0h for submit@debbugs.gnu.org; Tue, 10 Sep 2019 23:19:10 -0400 Received: from mail-io1-f50.google.com ([209.85.166.50]:33163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7t9t-000558-OT for 37365@debbugs.gnu.org; Tue, 10 Sep 2019 23:19:08 -0400 Received: by mail-io1-f50.google.com with SMTP id m11so42572966ioo.0 for <37365@debbugs.gnu.org>; Tue, 10 Sep 2019 20:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rekahsoft.ca; s=google; h=user-agent:from:to:subject:date:message-id:mime-version; bh=pCPsvlcuPQ7AliHPIn3fKTHNwKOMCB2WznmLQ8jX78Q=; b=XkTv5ACMGMxjfvTCuJs+A0wWBadRE/HaVGjycI+IhN0YLD8swlQUW9TaELnJQ832Vz m3485FkIazZy3IRJe8HcFiwapDvT+t13q5cBdM//jVItd8Lzgqx9ehdV3uEi8LD7q7NI aby/2zLqMpHYKAUI5sYbO+oakATcu0Dq66dXsRg2sYxMyfPXqXasZiYb+srEGJmx0xDQ tdQANnJj6G/yTo4VeFMiApkmDQHqBCokdJ74sWn3MzZy3NbuG639jB/HzjgQ9ouA7aij WkzWHPzDAsXROUTA98s548oUSCeJvgOf+sRyhCP4TtxqCNlzUKH00Irek7uldXtYOxad Mq5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=pCPsvlcuPQ7AliHPIn3fKTHNwKOMCB2WznmLQ8jX78Q=; b=H2Op6UTo5FMnGoEOc8INxvSlj2MFRsEP2FRzplIMZwiBtMQJ2ef8HbN8l+i52Psd8k mBE+SUt9gNPSAyl3f23/bECYQNjHjvWpq6Na/lusRgOOXI55QAHXjarm8hUvmqKE+MJI 6OtnSkLNtpgSHJhN53ci+Eo6Bv5LKIhqPu9J/K3QDcR+fFSdA7ZHJnkkrovZi65j4iFA UoBC+VU3ud+eqbO72Ej1xxymW8z23SXKaGIQ+vPN1Ciz+OSGsafRpdLaMnwkQVlydHca lDqBNnYTHjyNNLD/ivh5v0NmQzGXTJIfQWmAdiRShXbJOwMmKeEMN1W1IpBqOu0gFHfY Or4w== X-Gm-Message-State: APjAAAUuowGszof9XVT3uHiGj7OJSSjEWMiHOdd74t7kuv5wZYd5U2KN vdLb9p22XHRndaKV3pLvEg6qJRC4wJL6/A== X-Google-Smtp-Source: APXvYqwzz87WybGn3b+xDxR/oA/6jq/g/iw1kfcikeolN4N04VeXqalO9xMpSGabzm/UsDC0YbDjnw== X-Received: by 2002:a02:b395:: with SMTP id p21mr36630800jan.52.1568171939537; Tue, 10 Sep 2019 20:18:59 -0700 (PDT) Received: from rekahsoft-mini ([2607:fea8:1c60:690::6]) by smtp.gmail.com with ESMTPSA id n12sm8401368ioo.84.2019.09.10.20.18.57 for <37365@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2019 20:18:58 -0700 (PDT) User-agent: mu4e 1.0; emacs 26.3 From: "Collin J. Doering" To: 37365@debbugs.gnu.org Subject: [PATCH] - Amendment: Enable tests Date: Tue, 10 Sep 2019 23:18:52 -0400 Message-ID: <87o8zr34gz.fsf@rekahsoft.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37365 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Enable tests for zsh-autosuggetions. These tests use tmux, zsh, and ruby with rspec, inspecting output after simulating input. Many thanks to rekado for his advise on IRC. This is ready to merge. =2D-=20 Collin J. Doering http://rekahsoft.ca http://blog.rekahsoft.ca http://git.rekahsoft.ca --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE+NVG868371PRtki+e03rkyErMCIFAl14Z5wACgkQe03rkyEr MCIDXQf+PXxekq8j+898+BhG0HVzqcvAAOu7jtOnezarjMH++87a/YbJueMo03x2 KP+FL64fh3/xclUVPF8dl8/YkY8gWXPEDrJGMiYf/3hCeDYuNdBBheAM0SmXVFSd T0W1snU2IAst9SAagi5UUdUNBcB5Bur2WW6ynlTx6K3kUwmgixnzmsiHE76GbUmR hHk6PNb27dLZe11vAlIh+rHHMeQyc4EOH1EdyrhZcQx4aHeDq2a03VA/Yqpf8ylg pIU6oJRnXmPkn4ge/uX5wuNH1kr/43pazOSOuVgCGBNVSfzwD2vSJ6lj1bvKUMia Il2rTwAjND8G7ZBNaGD95v680VpBQw== =ItTK -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-zsh-autosuggestions.patch Content-Transfer-Encoding: quoted-printable >From 67f7193f2d8c51c43146514944659f15b98c7104 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Tue, 10 Sep 2019 22:58:32 -0400 Subject: [PATCH] gnu: Add zsh-autosuggestions * gnu/packages/shellutils.scm (zsh-autosuggestions): New variable. * gnu/packages/ruby.scm (ruby-rspec-wait): New variable. Signed-off-by: Collin J. Doering --- gnu/packages/ruby.scm | 26 ++++++++++++++++++++ gnu/packages/shellutils.scm | 49 +++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ef9792bc0f..b953c51204 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -670,6 +670,32 @@ RSpec tests.") (home-page "https://github.com/dblock/rspec-rerun") (license license:expat))) =20 +(define-public ruby-rspec-wait + (package + (name "ruby-rspec-wait") + (version "0.0.9") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rspec-wait" version)) + (sha256 + (base32 + "0gvj1bp5ccx001dyvcgk2j49s5sl6vs9fdaqqb08z3bd1554hsww")))) + (build-system ruby-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "rake" "spec")))))) + (native-inputs + `(("bundler" ,bundler))) + (propagated-inputs `(("ruby-rspec" ,ruby-rspec))) + (synopsis "Wait for conditions in RSpec") + (description "Wait for conditions in RSpec") + (home-page + "https://github.com/laserlemon/rspec-wait") + (license license:expat))) + (define-public ruby-rspec (package (name "ruby-rspec") diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index f7542ea759..420f946c83 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2017 Stefan Reich=C3=B6r ;;; Copyright =C2=A9 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Benjamin Slade +;;; Copyright =C2=A9 2019 Collin J. Doering ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,11 +34,59 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages readline) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages ruby) + #:use-module (gnu packages tmux) + #:use-module (gnu packages shells) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python)) =20 +(define-public zsh-autosuggestions + (package + (name "zsh-autosuggestions") + (version "0.6.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zsh-users/zsh-autosuggestions= .git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1h8h2mz9wpjpymgl2p7pc146c1jgb3dggpvzwm9ln3in336wl95c")))) + (build-system gnu-build-system) + (native-inputs + `(("tmux" ,tmux) + ("zsh" ,zsh) + ("ruby" ,ruby) + ("ruby-rspec" ,ruby-rspec) + ("ruby-rspec-wait" ,ruby-rspec-wait) + ("ruby-pry" ,ruby-pry) + ("ruby-byebug" ,ruby-byebug))) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'check ; Tests use ruby's bundler; instead execute rspec= directly + (lambda _ + (setenv "TMUX_TMPDIR" (getenv "TMPDIR")) + (setenv "SHELL" (which "zsh")) + (invoke "rspec"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (install-path (string-append out "/share/zsh/plugins/z= sh-autosuggestions"))) + (mkdir-p install-path) + (invoke "make" "all") + (copy-file "zsh-autosuggestions.zsh" (string-append install= -path "/zsh-autosuggestions.zsh")) + #t)))))) + (synopsis "Fish-like autosuggestions for zsh") + (description + "Fish-like fast/unobtrusive autosuggestions for zsh. It suggests com= mands as you type.") + (home-page "https://github.com/zsh-users/zsh-autosuggestions.git") + (license license:expat))) + (define-public envstore (package (name "envstore") --=20 2.23.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 11 03:37:28 2019 Received: (at 37365) by debbugs.gnu.org; 11 Sep 2019 07:37:28 +0000 Received: from localhost ([127.0.0.1]:41987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7xBw-0003Hx-Hn for submit@debbugs.gnu.org; Wed, 11 Sep 2019 03:37:28 -0400 Received: from flashner.co.il ([178.62.234.194]:54436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i7xBu-0003Hj-PJ for 37365@debbugs.gnu.org; Wed, 11 Sep 2019 03:37:27 -0400 Received: from localhost (unknown [188.120.128.191]) by flashner.co.il (Postfix) with ESMTPSA id 1FB6A402CE; Wed, 11 Sep 2019 07:37:20 +0000 (UTC) Date: Wed, 11 Sep 2019 10:37:19 +0300 From: Efraim Flashner To: "Collin J. Doering" Subject: Re: [bug#37365] [PATCH] - Amendment: Enable tests Message-ID: <20190911073719.GH977@E5400> References: <87tv9k3ks0.fsf@rekahsoft.ca> <87o8zr34gz.fsf@rekahsoft.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HkMjoL2LAeBLhbFV" Content-Disposition: inline In-Reply-To: <87o8zr34gz.fsf@rekahsoft.ca> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 User-Agent: Mutt/1.12.1 (2019-06-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 37365 Cc: 37365@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --HkMjoL2LAeBLhbFV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable These should be two patches, the first one to add the ruby package and the second to add the zsh package. > + (replace 'install > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (install-path (string-append out "/share/zsh/plugins= /zsh-autosuggestions"))) > + (mkdir-p install-path) > + (invoke "make" "all") > + (copy-file "zsh-autosuggestions.zsh" (string-append insta= ll-path "/zsh-autosuggestions.zsh")) > + #t)))))) I don't use zsh so I'm asking without knowing anything about the directory structure, is %out/share/zsh/plugins/zsh-autosuggestions the correct folder? The only folder I currently have after zsh is site-functions. (ins)efraim@E5400 ~$ tree .guix-profile/share/zsh/ =2Eguix-profile/share/zsh/ site-functions _mpv -> /gnu/store/acrlmdnmrkivbdrry756pf9grsx2x814-mpv-0.29.1/share/z= sh/site-functions/_mpv _vifm -> /gnu/store/1l9b676paigfc3fx9r8h6h2k5d33wrhk-vifm-0.10.1/share= /zsh/site-functions/_vifm _wgetpaste -> /gnu/store/k5g3fa3i59yxy3n9vf8lm1nfbz5whq2i-wgetpaste-2.= 29/share/zsh/site-functions/_wgetpaste --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --HkMjoL2LAeBLhbFV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl14pCsACgkQQarn3Mo9 g1HXuBAAjAAZ8MhyH7BBzlScSqeNzO8CFmhHVRHHPxkXSCIQpL8mqdmNeKKm4cai ypQFJPduQg6PDDLnbAGjjfUB0c7QxtbLCC4FFOeAf+m1MkFHKkBR7BdJFljU+NIj o21xfSCTBn401esUZAM6WpT11BaUKlVzX7LCYmLHVBAJQE687En1DV60GIBtoNRj 7R2vPlmIz+RameWY8KOdqsuvFc8nFDzVrBKgoNH6LSGeO73Wn0NT5FJK+jz8bS9L i4DTdL9NcnktCy7bw3DgTgV3BU77etBYseEaPe21wBLSrWSADDROE3XHi/a2u7Mn EwVITd3ariiPa2XPIdVe5GpStY/WgyvLDwXTMj2Me09tK83fuj4VRd26uFTCfo1B D8FYcMUZJL8d1PfTOJuqC76xIN78OSgyZiARSWlkPAeJIs/OhOMF6CpuZ/hX8WXv hXSTzdwqmaMwus7/1tqiYPzIbKXDy3oRvFm3ubSItIVgYFEkTbIXiC4cnTHCZWtr Fk0IAKBgnLfTgdTypkMjW8mmMkdBuZwV5QKjW7zG886WQjpBPunIKByY6MKneOma d0gVhDGrxftqULvKy79SMPXy7+riTUCnF2xz0rjb2fP6fH/tTldogLYxKVtNtXa5 2g2g4KZuvI7jbmwwUghOVQwJcIOYUEWWDWNP0IFTdmCtRGmEAR4= =yr+E -----END PGP SIGNATURE----- --HkMjoL2LAeBLhbFV-- From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 12 17:15:24 2019 Received: (at 37365) by debbugs.gnu.org; 12 Sep 2019 21:15:24 +0000 Received: from localhost ([127.0.0.1]:44131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8WQy-0007hR-Kc for submit@debbugs.gnu.org; Thu, 12 Sep 2019 17:15:24 -0400 Received: from mail-io1-f49.google.com ([209.85.166.49]:34443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8WQw-0007hE-NA for 37365@debbugs.gnu.org; Thu, 12 Sep 2019 17:15:19 -0400 Received: by mail-io1-f49.google.com with SMTP id k13so43088544ioj.1 for <37365@debbugs.gnu.org>; Thu, 12 Sep 2019 14:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rekahsoft.ca; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=y2q2pZHDAdL7K8LsNu11ZzytaSEb89FV5AoTaBD4CV8=; b=d0bn6Thylv+q5USEoEHZ/ppZQH1qT0XzHPLC7pCcHR9AKCHIlEV5hL4h3rauWUCQ3w TJu96BgmxSTwJTLQdCK7e25rVMiOGEsBNhFwa9r+HLmaVUA6Pq2B5gicznxQ/4Co9nqe HAirMlZOB13KRuiS1So99ZsM7HVnU7skyKesrJdKKSL3PRGjN0pavcUqCOUUYl9v12YH fKX8QlZp6hArKGKDsWQdKKwE2qAUpNPOdrczOdDJL3cpUo7HvU2LRuVmklo9zQvc9DCM 7ZtZR8fR7j5oUuUHH4JsB7L4PeQeZDCQd/AEnf4+ji60DRdgsBZ3StBbgmxwUfa945+V y/uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=y2q2pZHDAdL7K8LsNu11ZzytaSEb89FV5AoTaBD4CV8=; b=uFycykBnPU8ytVktnUdS1/Qa+EtMVYUje85NMtn1OBl9KxK0Ell8B1686c67ZUuql4 j0TlpDZiQ+Vy8X5zChAEYnWhznd1lmqNieFvbqS4z1kxZrxsLIPA1mtydGy78N3MwOV8 j9PZmt50gdgXFXCsmZ9AtXuye5B/xE+Njb/quEvfNED+PEtEdn2SJ1thl1hQcLgEM1MM S0pgxoLERbTwBZmt+8JlYq0wsSXx4967YTsNYy2OXy65qXFZNm+pwfDSxNryhF3USBT/ ZVmQ7lzlBw0n3YEIG8JQ6gqAQRAqFp/LpY4UrObgKU3qYfBI+pUeHycvlszpWf6PoVQK mK4g== X-Gm-Message-State: APjAAAUBr8rhbR7/E7wgTIeYug6DlYMR113b+EYD1VbnQqeO0b4Korbe faTfYZmNjVkFgAXqEEZaiXjBzAt3y89q4w== X-Google-Smtp-Source: APXvYqyq6mXnHGjWuRbrAwBrrzM5FNbWhw0MRLYkpvF3QWRakr4HTe7drYz5jeZ5Ll0mOQLEYT4GVA== X-Received: by 2002:a6b:8e82:: with SMTP id q124mr5204117iod.267.1568322912665; Thu, 12 Sep 2019 14:15:12 -0700 (PDT) Received: from rekahsoft-mini ([2607:fea8:1c60:690::6]) by smtp.gmail.com with ESMTPSA id s8sm20741484ioe.0.2019.09.12.14.15.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Sep 2019 14:15:11 -0700 (PDT) References: <87tv9k3ks0.fsf@rekahsoft.ca> <87o8zr34gz.fsf@rekahsoft.ca> <20190911073719.GH977@E5400> User-agent: mu4e 1.0; emacs 26.3 From: "Collin J. Doering" To: Efraim Flashner Subject: Re: [bug#37365] [PATCH] - Amendment: Enable tests In-reply-to: <20190911073719.GH977@E5400> Date: Thu, 12 Sep 2019 17:15:06 -0400 Message-ID: <87k1ad2p45.fsf@rekahsoft.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37365 Cc: 37365@debbugs.gnu.org, "Collin J. Doering" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Hi Efraim, Firstly, thanks for taking the time to review this. I have attached updated patches with your suggested changes. On 11 Sep 2019 at 03:37, Efraim Flashner wrote: > These should be two patches, the first one to add the ruby package and > the second to add the zsh package. Makes sense. > >> + (replace 'install >> + (lambda* (#:key outputs #:allow-other-keys) >> + (let* ((out (assoc-ref outputs "out")) >> + (install-path (string-append out "/share/zsh/plugins/zsh-autosuggestions"))) >> + (mkdir-p install-path) >> + (invoke "make" "all") >> + (copy-file "zsh-autosuggestions.zsh" (string-append install-path "/zsh-autosuggestions.zsh")) >> + #t)))))) > > I don't use zsh so I'm asking without knowing anything about the > directory structure, is %out/share/zsh/plugins/zsh-autosuggestions the > correct folder? The only folder I currently have after zsh is > site-functions. > > (ins)efraim@E5400 ~$ tree .guix-profile/share/zsh/ > .guix-profile/share/zsh/ > site-functions > _mpv -> /gnu/store/acrlmdnmrkivbdrry756pf9grsx2x814-mpv-0.29.1/share/zsh/site-functions/_mpv > _vifm -> /gnu/store/1l9b676paigfc3fx9r8h6h2k5d33wrhk-vifm-0.10.1/share/zsh/site-functions/_vifm > _wgetpaste -> /gnu/store/k5g3fa3i59yxy3n9vf8lm1nfbz5whq2i-wgetpaste-2.29/share/zsh/site-functions/_wgetpaste I did some more looking into this (as I just copied what I saw done for a few zsh plugin packages for archlinux). The directories you list above (namely .../'share/zsh/site-functions/_...') are for zsh site-functions (begin with an underscore) and not plugins that extend the functionality of zsh (which will have to be sourced from the users `~/.zshrc`). Something like this should do: source ~/.guix-profile/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh Anyways, I think that `.../share/zsh/plugins//...` is a good place for this (and any other zsh plugins). WDYT? Finally, you will find an updated patch set attached to this email that includes splitting the ruby package out into its own patch, as well as minor touch up to be more consistent with naming throughout the rest of the guix code base. Kind regards, --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE+NVG868371PRtki+e03rkyErMCIFAl16tVoACgkQe03rkyEr MCLRQQgAmiH/kpNx5aREFI9e9D8IU6MMA20WkagikSR34etHZH2EoLujI5aUAMO8 tmSW+o6upqqEzdyikCqmW+C8qeZLtoWzNTNs7H4K8xAgMFfZiujKdXoIwemExFTE tJNxO+SjNoE6iVcrdJxPH81AP9SRz0WiCTtl89+LJ+N25K7JDpEgKyiGGM6TQamL gaKuLRVchdllc4BpYaxRhSpaH2jgXk3s2UIUOikcZBqOnkai7RXN1MpOtrQHUhtD DoX8oAobk9Q07J1RwbBZGJT0FfC5H9AefOkihT5UKn/WGpSv+y8LzCEjQEThirph YZ4UQd388UBe/EMR/JEF2+nYXF2eCg== =Rrpq -----END PGP SIGNATURE----- --==-=-=-- --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-ruby-rspec-wait.patch Content-Transfer-Encoding: quoted-printable Content-Description: 0001-gnu-Add-ruby-rspec-wait.patch >From 00e3e91719ce049b04415bda07588357eb776d48 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Thu, 12 Sep 2019 17:09:00 -0400 Subject: [PATCH 1/2] gnu: Add ruby-rspec-wait * gnu/packages/ruby.scm (ruby-rspec-wait): New variable. Signed-off-by: Collin J. Doering --- gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ef9792bc0f..110e5e21ac 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2019 Mikhail Kirillov ;;; Copyright =C2=A9 2019 Jelle Licht ;;; Copyright =C2=A9 2019 Brian Leung +;;; Copyright =C2=A9 2019 Collin J. Doering ;;; ;;; This file is part of GNU Guix. ;;; @@ -670,6 +671,32 @@ RSpec tests.") (home-page "https://github.com/dblock/rspec-rerun") (license license:expat))) =20 +(define-public ruby-rspec-wait + (package + (name "ruby-rspec-wait") + (version "0.0.9") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rspec-wait" version)) + (sha256 + (base32 + "0gvj1bp5ccx001dyvcgk2j49s5sl6vs9fdaqqb08z3bd1554hsww")))) + (build-system ruby-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "rake" "spec")))))) + (native-inputs + `(("bundler" ,bundler))) + (propagated-inputs `(("ruby-rspec" ,ruby-rspec))) + (synopsis "Wait for conditions in RSpec") + (description "Wait for conditions in RSpec") + (home-page + "https://github.com/laserlemon/rspec-wait") + (license license:expat))) + (define-public ruby-rspec (package (name "ruby-rspec") --=20 2.23.0 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0002-gnu-Add-zsh-autosuggestions.patch Content-Transfer-Encoding: quoted-printable Content-Description: 0001-gnu-Add-zsh-autosuggestions.patch >From 2497a3b3337b72ac932a0edad9c0729325a69870 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Thu, 12 Sep 2019 17:09:07 -0400 Subject: [PATCH 2/2] gnu: Add zsh-autosuggestions * gnu/packages/shellutils.scm (zsh-autosuggestions): New variable. Signed-off-by: Collin J. Doering --- gnu/packages/shellutils.scm | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index f7542ea759..847cd931b3 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2017 Stefan Reich=C3=B6r ;;; Copyright =C2=A9 2018 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2018 Benjamin Slade +;;; Copyright =C2=A9 2019 Collin J. Doering ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,11 +34,58 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages readline) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages ruby) + #:use-module (gnu packages tmux) + #:use-module (gnu packages shells) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python)) =20 +(define-public zsh-autosuggestions + (package + (name "zsh-autosuggestions") + (version "0.6.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zsh-users/zsh-autosuggestions= .git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1h8h2mz9wpjpymgl2p7pc146c1jgb3dggpvzwm9ln3in336wl95c")))) + (build-system gnu-build-system) + (native-inputs + `(("tmux" ,tmux) + ("zsh" ,zsh) + ("ruby" ,ruby) + ("ruby-rspec" ,ruby-rspec) + ("ruby-rspec-wait" ,ruby-rspec-wait) + ("ruby-pry" ,ruby-pry) + ("ruby-byebug" ,ruby-byebug))) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'check ; Tests use ruby's bundler; instead execute rspec= directly + (lambda _ + (setenv "TMUX_TMPDIR" (getenv "TMPDIR")) + (setenv "SHELL" (which "zsh")) + (invoke "rspec"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (zsh-plugins (string-append out "/share/zsh/plugins/zs= h-autosuggestions"))) + (invoke "make" "all") + (install-file "zsh-autosuggestions.zsh" zsh-plugins) + #t)))))) + (synopsis "Fish-like autosuggestions for zsh") + (description + "Fish-like fast/unobtrusive autosuggestions for zsh. It suggests com= mands as you type.") + (home-page "https://github.com/zsh-users/zsh-autosuggestions.git") + (license license:expat))) + (define-public envstore (package (name "envstore") --=20 2.23.0 --=-=-= Content-Type: text/plain -- Collin J. Doering http://rekahsoft.ca http://blog.rekahsoft.ca http://git.rekahsoft.ca --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 13 08:47:38 2019 Received: (at 37365-done) by debbugs.gnu.org; 13 Sep 2019 12:47:38 +0000 Received: from localhost ([127.0.0.1]:44543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8kzB-0000jo-R6 for submit@debbugs.gnu.org; Fri, 13 Sep 2019 08:47:38 -0400 Received: from flashner.co.il ([178.62.234.194]:33896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8kz9-0000fR-R9 for 37365-done@debbugs.gnu.org; Fri, 13 Sep 2019 08:47:36 -0400 Received: from localhost (unknown [188.120.128.191]) by flashner.co.il (Postfix) with ESMTPSA id CAA4140041; Fri, 13 Sep 2019 12:47:29 +0000 (UTC) Date: Fri, 13 Sep 2019 15:47:28 +0300 From: Efraim Flashner To: "Collin J. Doering" Subject: Re: [bug#37365] [PATCH] - Amendment: Enable tests Message-ID: <20190913124728.GN977@E5400> References: <87tv9k3ks0.fsf@rekahsoft.ca> <87o8zr34gz.fsf@rekahsoft.ca> <20190911073719.GH977@E5400> <87k1ad2p45.fsf@rekahsoft.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NT59pYSnj1ZLVgEN" Content-Disposition: inline In-Reply-To: <87k1ad2p45.fsf@rekahsoft.ca> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 User-Agent: Mutt/1.12.1 (2019-06-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 37365-done Cc: 37365-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --NT59pYSnj1ZLVgEN Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Patches pushed with some small changes. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --NT59pYSnj1ZLVgEN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl17j+AACgkQQarn3Mo9 g1F57RAAkD4fkK/JjJ35Q0636+weHDcB8TortRF7cfShZFIgOvKPEyHwJ0sELzT/ W77CPDh7JNGJVkKXooJ2CCSum7dYEvkhosPSeuesnqp8TrPkTnBczXyGRmY4XpC8 DRyY31iHyKWCYvpvpWAYwkXk50vx9KHoh05ihCvmakFCdaYs4pSDiV93Qq6M2Hvs GKnGiCgzFLjWJ5/sVNcIlnZmbwrrBOY6UDYtJzqk9cDINy2vUbOQwwiT70tdqY9X g/hVGFV09teFOqTVyQXhVnAZWnJUK7IYjH18moA68rqEDZ38WgMA03r3M8N62CoW onsWU3Ccy5KCh55+KtUCCEjsQzyQg6sEF+ytnhTNiqECkoDuaHzscgGLdyaBM7oM SDsVZp9bqcgDjjixYAazMMZaCWGqQ9x+IAtV5wQKjfLZCrHasbmTlMWjG8GC1eOB SRRLc4IjnBLzpCfbnurWeY/w6mOclB9OTrFe8S36Ljj59wXUM6t8GRUuXl/dD7yL dZtXcY5y2hbSjWN7mbvB7GdxB/0tMcqKebtcf7BicRWGlZpFjVZJqI2Q36qZvG8T S7KkLqHXf474AMLwYDyUmEjlUejCeSQUor8XH3JBIE5NExZJNlVNRQZS626Zb7N3 GDxAXIzMZIpBcgoKkT6n2YSL6ewTs6+uXy7i5LfIMCDbGkROxQI= =KuS4 -----END PGP SIGNATURE----- --NT59pYSnj1ZLVgEN-- From unknown Tue Jun 17 01:46:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 12 Oct 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator