From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13578 invoked from network); 7 Nov 2023 23:31:55 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 Nov 2023 23:31:55 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1699399916; b=LQ0l3rNFSrVS2YL6BL9eVmEzVzUXrALzTWFL/rpzSMTjfST/d2DmlVVkJ8XRa1mSbj4DzlKPjn xKGBv/HiOX5erli8GGNUROqW6f04b3cj/6NaKDVXuWLxjRH24Eizg3+zLvMhgRkcvElqghJ1wJ HAKePbMDAqLzzmnhXqKXJf14UNc8T+OVGOqz6FScJRJLtpagAVtXMc8hu0wGI9BzHN36sHFwdz TPV7/BTD4rGsZn7HKI8UW7K0xjI2pXZl98xXYVwPd+PGIPPAgaNYhEW6sdcsoVY/QkebiTn47v 9w+WVTNxTdWq09PrMZDB4cckqAk6OItG/ee6KJVc4MFm5A==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mailin02.mxof.com) smtp.remote-ip=72.20.134.35; dmarc=none header.from=anthropohedron.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1699399916; bh=F2XjigDNPe7tzDcg0h255PMOM1P/RQ0ut9rWWBaiR9E=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:MIME-Version:Reply-To:Message-ID:Subject:To: From:Date:DKIM-Signature; b=WM01i1TPzTDCFcqg4VJZRmMcGRWQZ6v84qWmsJk7V3cWfGaNzktBZFHgwD/pZnnIUDUvMOThtX TCd39dUE9BlLbFI25V01fpsJqLTXSL/g8V4GSSRow684P+R70HRxYhi0OIS1ThkZXEIZlnOoFR MrgfDi5+5Q4Rmpt2TxmHP7W63hI2W8hd0rkxjSUZyByxEn+5KqH/N4y4dkvLp3VyjhU10oHWLx iQ5UnJkHLv6HTd6478p0wYSpFzYn7Bf6AHlTFlPtcDym0SnHir2b/CGjBNnjd73XgMO5PGalFd EsEqoP3TYGPGEl+5ntCJcRiai95PoVjpaHkhbyuLsHOkhg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:MIME-Version:Reply-To: Message-ID:Subject:To:From:Date:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=F2XjigDNPe7tzDcg0h255PMOM1P/RQ0ut9rWWBaiR9E=; b=LoFrWrVXbaiN0nzfoMkvM7FYnj fzMh9omKiOcuACmGkddkcPHNXG95ABiFeIxRacKhj1jEE7HXku9tUKIwJhSSMu8cAv0dckVeg81ts gvOVjGPvFlxH13BtsBoE2ONZYfTVxtPAI3xUxlPMFz9/IwpFlWpYqqwSvcfo8Eac6Zk0rsQwvlER/ HMAaDM+jNQ56wsG1L8+dCFDaP8X874h6xq/f1iS83OT/LhOEoorz9Dpo+gBnACdVzmvtnWtNJWD/s tLeaJzvPmk+65nnazsiru0GcgqGP9P+lxoL3CEFBnNPMHHptihdj44NDgdCMFM0RhlfsNVuDVUVG5 jfAdTqHw==; Received: by zero.zsh.org with local id 1r0VY1-0000J9-FM; Tue, 07 Nov 2023 23:31:53 +0000 Authentication-Results: zsh.org; iprev=pass (mailin02.mxof.com) smtp.remote-ip=72.20.134.35; dmarc=none header.from=anthropohedron.net; arc=none Received: from mailin02.mxof.com ([72.20.134.35]:19327) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1r0VXi-000PzI-JO; Tue, 07 Nov 2023 23:31:35 +0000 Received: from mta01.mxof.net (mta01.prxy.com [18.189.94.166]) by mailin02.mxof.com (8.15.2/8.15.2/Debian-8) with ESMTPS id 3A7NVGcE018625 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 7 Nov 2023 23:31:29 GMT Received: from mta01.mxof.net (localhost.localdomain [127.0.0.1]) by mta01.mxof.net (Postfix) with ESMTPS id A75432B59EA for ; Tue, 7 Nov 2023 23:31:16 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mta01.mxof.net (Postfix) with ESMTP id 900502B5A12 for ; Tue, 7 Nov 2023 23:31:16 +0000 (UTC) Received: from mta01.mxof.net ([127.0.0.1]) by localhost (mta01.mxof.net [127.0.0.1]) (amavis, port 10026) with ESMTP id G68In4AV1Xai for ; Tue, 7 Nov 2023 23:31:16 +0000 (UTC) Received: from peterbilt.lan (pool-68-134-14-115.bltmmd.fios.verizon.net [68.134.14.115]) (Authenticated sender: jollygood@usermail.com) by mta01.mxof.net (Postfix) with ESMTPSA id 7FDD12B59EA for ; Tue, 7 Nov 2023 23:31:16 +0000 (UTC) Received: from gss by peterbilt.lan with local (Exim 4.96) (envelope-from ) id 1r0VXP-00Eqwo-38 for zsh-workers@zsh.org; Tue, 07 Nov 2023 18:31:15 -0500 Date: Tue, 7 Nov 2023 18:31:15 -0500 From: Gregory Seidman To: ZSH Workers Subject: Extending zsh hooks Message-ID: Reply-To: gsslist+zshdev@anthropohedron.net Mail-Followup-To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Bayes-Prob: 0.0001 (Score 0, tokens from: outgoing:default, base:default, @@RPTN) X-CanIt-Geo: ip=18.189.94.166; country=US; region=Ohio; city=Columbus; latitude=39.9653; longitude=-83.0235; http://maps.google.com/maps?q=39.9653,-83.0235&z=6 X-CanItPRO-Stream: outgoing:default (inherits from base:default) X-Canit-Stats-ID: 02b7zvhy2 - c33af20b32fa - 20231107 X-Antispam-Training-Forget: https://spamblock.prxy.com/b.php?c=f&i=02b7zvhy2&m=c33af20b32fa&rlm=outgoing&t=20231107 X-Antispam-Training-Nonspam: https://spamblock.prxy.com/b.php?c=n&i=02b7zvhy2&m=c33af20b32fa&rlm=outgoing&t=20231107 X-Antispam-Training-Phish: https://spamblock.prxy.com/b.php?c=p&i=02b7zvhy2&m=c33af20b32fa&rlm=outgoing&t=20231107 X-Antispam-Training-Spam: https://spamblock.prxy.com/b.php?c=s&i=02b7zvhy2&m=c33af20b32fa&rlm=outgoing&t=20231107 X-Scanned-By: CanIt (www . roaringpenguin . com) on 10.1.0.12 X-Seq: 52279 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: I discovered add-zsh-hook not too long ago and I've made some good use of it, but I have a similar application for a new kind of hook. I'd like to modify the add-zsh-hook implementation to allow custom named hooks with a flag, e.g. add-zsh-hook -f myhook myfunc. While I've found https://sourceforge.net/p/zsh/code/ci/master/tree/ I am a lot more familiar with contributing to FLOSS on GitHub by forking and a PR. Does it work the same way on SourceForge? (Also, my SourceForge account seems to have gone away, maybe because I haven't used it in over a decade, but I can make a new one.) --Gregory