From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 85103f50 for ; Thu, 15 Aug 2019 15:26:41 +0000 (UTC) Received: (qmail 13350 invoked by alias); 15 Aug 2019 15:26:36 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 44671 Received: (qmail 9509 invoked by uid 1010); 15 Aug 2019 15:26:36 -0000 X-Qmail-Scanner-Diagnostics: from out5-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25538. spamassassin: 3.4.2. Clear:RC:0(66.111.4.29):SA:0(-2.6/5.0):. Processed in 5.768495 secs); 15 Aug 2019 15:26:36 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type :content-transfer-encoding; s=fm1; bh=3bQn6TT1egOcGBbUfvQ9c7fcrB aHzbot6uuRO+IDZqM=; b=Me6HXjRZwDPdc1CMpVrjsbV9oibifCd/OLbUYH/sJB +g3+lq4A0eP5mTwGfW+BEB0pCCT5EG7N5CkOpVXVepp4qiigtkO+1t+mMjydZklR Gl1voPlPu0Pge6F24WA8F4x7hOFepflqnoRFXzeG4YXJsRldgSSHhF7R3v2HO/u6 CqwYB8+LfvQBu8GqD5t+nDUwY1z3q9jDfnGkq9KsDICg0sZa51vBcqdJrdDMT45E it+6q0SrK5PQh4oFbOR+UF74AeTeqnvS4odtcTaA3EiuFrtL1Jk7gLi7Ed+rrz8I z8Th6fzjTnXVaor71gLH7+4SRGYNRK74YMPcamaLVGqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=3bQn6TT1egOcGBbUfvQ9c7fcrBaHzbot6uuRO+IDZ qM=; b=JVN+Zp7jduZhH5J72hxpBTayc2YsCnlAZdUKA1qsg990ss/CiLV6pfNR6 SPprCgLmUV5oXsW93Bm+EAPpb1ybwTYV8nBr0z+mtcraWUAb2hibsJawiCM4oazl VXSyvqYc58AHuyAyEvsm2ilIijZa9H32hWVprdDX+3sm+xXBIdoW/4IyYdlNG6XV YJ/ZHATqm1HBAaFRQyE6N/HmVjI6P3XErLOPi3dkU2gLgMTHSjup4LgL9UjdWlwO 5807fBr+jLU3BhmyF9Amna5E2TFamO8HdTRLIvyuvQXJJgOTIPLmg2HWWFlarynO LY1Y3WZJW8g5a6o7+aPzm9/uL8/0A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudefuddgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomhepfdffrghnihgvlhcuufhhrghhrghffdcuoegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvgeqnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgenucevlhhushhtvghrufhiiigv pedt X-ME-Proxy: X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-869-g2d94aad-fmstable-20190814v1 Mime-Version: 1.0 Message-Id: <89238b4d-d051-4b86-b76b-3ebb70134b09@www.fastmail.com> In-Reply-To: References: Date: Thu, 15 Aug 2019 15:25:51 +0000 From: "Daniel Shahaf" To: "Aryn Starr" , zsh-workers@zsh.org Subject: Re: [Feature Request] Add ability to define functions as noglob Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Aryn Starr wrote on Thu, 15 Aug 2019 14:54 +00:00: > A lot of functions need to be noglob. Why? What's the use-case? Maybe noglob isn't the right tool for the jo= b. > My current workflow is to define the function as `function sth-raw()` > and then `alias sth=3D'noglob sth-raw'`. (I use different names so tha= t > I can use `which sth-raw` to easily inspect the source.) You don't need to use different names. =C2=ABwhich foo=C2=BB would only= expand =C2=ABfoo=C2=BB if it were a global alias, which in your case it isn't.