From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:37981) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7WcR-00031j-Ej for guix-patches@gnu.org; Mon, 09 Sep 2019 23:15:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7WcQ-0004ux-BX for guix-patches@gnu.org; Mon, 09 Sep 2019 23:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60230) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i7WcQ-0004uq-7q for guix-patches@gnu.org; Mon, 09 Sep 2019 23:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i7WcP-00065r-VH for guix-patches@gnu.org; Mon, 09 Sep 2019 23:15:02 -0400 Subject: [bug#37365] [PATCH] Add package zsh-autosuggestions Resent-Message-ID: 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 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) 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) From: "Collin J. Doering" Date: Mon, 09 Sep 2019 23:14:23 -0400 Message-ID: <87tv9k3ks0.fsf@rekahsoft.ca> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37365@debbugs.gnu.org --=-=-= 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 --=-=-=--