From unknown Tue Aug 19 02:52:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#61775 <61775@debbugs.gnu.org> To: bug#61775 <61775@debbugs.gnu.org> Subject: Status: [PATCH 0/2] Add zsh shell niceties Reply-To: bug#61775 <61775@debbugs.gnu.org> Date: Tue, 19 Aug 2025 09:52:52 +0000 retitle 61775 [PATCH 0/2] Add zsh shell niceties reassign 61775 guix-patches submitter 61775 Timo Wilken severity 61775 normal tag 61775 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 24 18:04:05 2023 Received: (at submit) by debbugs.gnu.org; 24 Feb 2023 23:04:05 +0000 Received: from localhost ([127.0.0.1]:38535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVh6i-0007Us-SC for submit@debbugs.gnu.org; Fri, 24 Feb 2023 18:04:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:56394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVh6g-0007Ui-QW for submit@debbugs.gnu.org; Fri, 24 Feb 2023 18:04:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVh6g-000559-6f for guix-patches@gnu.org; Fri, 24 Feb 2023 18:04:02 -0500 Received: from mx2.mythic-beasts.com ([2a00:1098:0:82:1000:0:2:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVh6e-00049g-LP for guix-patches@gnu.org; Fri, 24 Feb 2023 18:04:01 -0500 Received: by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pVh6b-00CBdH-Vy; Fri, 24 Feb 2023 23:03:58 +0000 From: Timo Wilken To: guix-patches@gnu.org Subject: [PATCH 0/2] Add zsh shell niceties Date: Sat, 25 Feb 2023 00:03:45 +0100 Message-Id: <20230224230345.30823-1-guix@twilken.net> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BlackCat-Spam-Score: 49 X-Spam-Status: No, score=4.9 Received-SPF: pass client-ip=2a00:1098:0:82:1000:0:2:1; envelope-from=guix@twilken.net; helo=mx2.mythic-beasts.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Timo Wilken 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: -2.3 (--) This patch series adds two zsh shell extensions: * zsh-history-substring-search, which lets the user search their shell history by typing at the zsh prompt and pressing "up", and: * zsh-completions, which contains completion info for commands not covered by the built-in completion info in zsh itself. While the packages are independent from each other, I'm sending them as a patch series to make the whole thing easier to merge. Timo Wilken (2): gnu: Add zsh-history-substring-search gnu: Add zsh-completions gnu/packages/shellutils.scm | 55 +++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) base-commit: df8b8f0c76388239dac9f2892c97b92e92c92901 -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 24 18:05:49 2023 Received: (at 61775) by debbugs.gnu.org; 24 Feb 2023 23:05:49 +0000 Received: from localhost ([127.0.0.1]:38542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVh8P-0007YC-8j for submit@debbugs.gnu.org; Fri, 24 Feb 2023 18:05:49 -0500 Received: from mx2.mythic-beasts.com ([46.235.227.24]:58685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVh8M-0007Xo-Hs for 61775@debbugs.gnu.org; Fri, 24 Feb 2023 18:05:47 -0500 Received: by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pVh8G-00CBib-H9; Fri, 24 Feb 2023 23:05:40 +0000 From: Timo Wilken To: 61775@debbugs.gnu.org Subject: [PATCH 1/2] gnu: Add zsh-history-substring-search Date: Sat, 25 Feb 2023 00:05:23 +0100 Message-Id: <20230224230524.31292-1-guix@twilken.net> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BlackCat-Spam-Score: 9 X-Spam-Status: No, score=0.9 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61775 Cc: Timo Wilken 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 (-) * gnu/packages/shellutils.scm (zsh-history-substring-search): New variable. --- gnu/packages/shellutils.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 64cc818d65..3553eaa4ed 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -15,6 +15,7 @@ ;;; Copyright © 2021 Foo Chuan Wei ;;; Copyright © 2021 Wiktor Żelazny ;;; Copyright © 2022 Jose G Perez Taveras +;;; Copyright © 2023 Timo Wilken ;;; ;;; This file is part of GNU Guix. ;;; @@ -221,6 +222,34 @@ (define-public zsh-autosuggestions as you type.") (license license:expat))) +(define-public zsh-history-substring-search + (package + (name "zsh-history-substring-search") + (version "1.0.2") + (home-page "https://github.com/zsh-users/zsh-history-substring-search") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0y8va5kc2ram38hbk2cibkk64ffrabfv1sh4xm7pjspsba9n5p1y")))) + (build-system copy-build-system) + (arguments + '(#:install-plan '(("zsh-history-substring-search.plugin.zsh" + "share/zsh/plugins/zsh-history-substring-search/") + ("zsh-history-substring-search.zsh" + "share/zsh/plugins/zsh-history-substring-search/") + ("README.md" "share/doc/zsh-history-substring-search/")))) + (synopsis "ZSH port of Fish history search (up arrow)") + (description + "This is a clean-room implementation of the Fish shell's history search +feature, where you can type in any part of any command from history and then +press chosen keys, such as the UP and DOWN arrows, to cycle through matches.") + (license license:bsd-3))) + (define-public zsh-syntax-highlighting (package (name "zsh-syntax-highlighting") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 24 18:05:52 2023 Received: (at 61775) by debbugs.gnu.org; 24 Feb 2023 23:05:53 +0000 Received: from localhost ([127.0.0.1]:38544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVh8S-0007YM-KK for submit@debbugs.gnu.org; Fri, 24 Feb 2023 18:05:52 -0500 Received: from mx2.mythic-beasts.com ([46.235.227.24]:39017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVh8O-0007Xr-MP for 61775@debbugs.gnu.org; Fri, 24 Feb 2023 18:05:49 -0500 Received: by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pVh8J-00CBib-13; Fri, 24 Feb 2023 23:05:43 +0000 From: Timo Wilken To: 61775@debbugs.gnu.org Subject: [PATCH 2/2] gnu: Add zsh-completions Date: Sat, 25 Feb 2023 00:05:24 +0100 Message-Id: <20230224230524.31292-2-guix@twilken.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230224230524.31292-1-guix@twilken.net> References: <20230224230524.31292-1-guix@twilken.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BlackCat-Spam-Score: 49 X-Spam-Status: No, score=4.9 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61775 Cc: Timo Wilken 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 (-) * gnu/packages/shellutils.scm (zsh-completions): New variable. --- gnu/packages/shellutils.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 3553eaa4ed..4a2917cfa2 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -222,6 +222,32 @@ (define-public zsh-autosuggestions as you type.") (license license:expat))) +(define-public zsh-completions + (package + (name "zsh-completions") + (version "0.34.0") + (home-page "https://github.com/zsh-users/zsh-completions") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0jjgvzj3v31yibjmq50s80s3sqi4d91yin45pvn3fpnihcrinam9")))) + (build-system copy-build-system) + (arguments + '(#:install-plan '(("src/" "share/zsh/site-functions/") + ("README.md" "share/doc/zsh-completions/")))) + (synopsis "Additional completion definitions for Zsh") + (description + "This projects aims at gathering/developing new completion scripts that +are not available in Zsh yet. The scripts may be contributed to the Zsh +project when stable enough.") + (license (license:non-copyleft "file://LICENSE" + "Custom BSD-like, permissive, non-copyleft license.")))) + (define-public zsh-history-substring-search (package (name "zsh-history-substring-search") -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 30 17:17:25 2023 Received: (at 61775-done) by debbugs.gnu.org; 30 Mar 2023 21:17:25 +0000 Received: from localhost ([127.0.0.1]:59593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phze9-0008Gr-IO for submit@debbugs.gnu.org; Thu, 30 Mar 2023 17:17:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phze7-0008Gb-Cp for 61775-done@debbugs.gnu.org; Thu, 30 Mar 2023 17:17:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phze2-0006oR-62; Thu, 30 Mar 2023 17:17:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Aoizg3FC2G0f2em9xmvrLfBZUqiB81+jlXiSbRlgboM=; b=RAUVJgVTc27NGZTu1jTU yTZrKf7nJBBdmEB/Ro/XMPXXEIB/TMOpvke9hAq7xHWyJhubJjfrTrcQWzX9sg/aXbWNqHYiWaV8n oYAWhvaly3Bb4ylr3DvqiSG7xTeWF4rxP863NgNjsASwptRYLVL8Ipq8e1Xb65ggoW09wMrQi2mbJ 5GAYkJwuVq9ShQstW0rk3izbuz2sjSs8/3ysGvly4nBJJFnPvF0tO9JhJDK7WZjJi6nZM5WQEsK+Y XJx+HU+KFP0JgFx2yZwEhTylEWY5qOWUStB/RO3s/0We71HKaXKtzlwtGCTSF4mkV4UfloHsdMENk HCg+kJC8DGeL2Q==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phze1-0004oM-JV; Thu, 30 Mar 2023 17:17:17 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Timo Wilken Subject: Re: bug#61775: [PATCH 0/2] Add zsh shell niceties References: <20230224230345.30823-1-guix@twilken.net> Date: Thu, 30 Mar 2023 23:17:16 +0200 In-Reply-To: <20230224230345.30823-1-guix@twilken.net> (Timo Wilken's message of "Sat, 25 Feb 2023 00:03:45 +0100") Message-ID: <87sfdmgcrn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61775-done Cc: 61775-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: -3.3 (---) Hi Timo, Timo Wilken skribis: > gnu: Add zsh-history-substring-search > gnu: Add zsh-completions Applied, thanks! Ludo=E2=80=99. From unknown Tue Aug 19 02:52:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 28 Apr 2023 11:24:16 +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