From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:40833) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7Wp1-0004Py-PZ for guix-patches@gnu.org; Mon, 09 Sep 2019 23:28:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7Wp0-0003cl-Lr for guix-patches@gnu.org; Mon, 09 Sep 2019 23:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60241) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i7Wp0-0003cf-G0 for guix-patches@gnu.org; Mon, 09 Sep 2019 23:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i7Wp0-0006Rt-AP for guix-patches@gnu.org; Mon, 09 Sep 2019 23:28:02 -0400 Subject: [bug#37365] [PATCH] Ammendment - zsh-autosuggestions References: <87tv9k3ks0.fsf@rekahsoft.ca> In-Reply-To: <87tv9k3ks0.fsf@rekahsoft.ca> Resent-Message-ID: From: "Collin J. Doering" Date: Mon, 09 Sep 2019 23:27:25 -0400 Message-ID: <87sgp43k6a.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 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 --=-=-=--