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,FREEMAIL_FROM,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 67dbbc53 for ; Thu, 15 Aug 2019 14:54:19 +0000 (UTC) Received: (qmail 12088 invoked by alias); 15 Aug 2019 14:54:14 -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: 44670 Received: (qmail 12553 invoked by uid 1010); 15 Aug 2019 14:54:14 -0000 X-Qmail-Scanner-Diagnostics: from st43p00im-zteg10062001.me.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(17.58.63.166):SA:0(-4.3/5.0):. Processed in 0.735364 secs); 15 Aug 2019 14:54:14 -0000 X-Envelope-From: whereislelouch@icloud.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at icloud.com designates 17.58.63.166 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1565880819; bh=ln7O7wQl6v/fCQkNbqewSYyBNEX0Pvc8wMlaFHEjyEs=; h=From:Content-Type:Date:Subject:Message-Id:To; b=U+j/7xMwPPo72ObcuU/5H9wWBK11GmpHdC2HehGyKGOcVg/hQHqr2hCi0TZi3fLT8 IkFUF+ZWuxill7uu8/ayaiikocpajiC1UFUFFxh1aD7goQtNUAtJCaxy7+C+WwCoF2 Xu/ZEd7jD7gO0MFikFlgbDViq/A71sdvlksQ1azj9LUECt79CuN8fisis8yHO7dh/S tU6N5eg1IS1c8A6GqfVx3MlCag6umFBHykAMLT15y8sUSSx0Vd9bk6CdfPSkhfVtf4 Cua46wL6nZTt95OyX2sGw82nGqXw4749GwnaAEX7Q9jvoYTHHtuVF8cgQV6vGeyzXh G0iQnBnb7E5OA== From: Aryn Starr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Thu, 15 Aug 2019 19:23:34 +0430 Subject: [Feature Request] Add ability to define functions as noglob Message-Id: To: zsh-workers@zsh.org X-Mailer: iPad Mail (16F203) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-15_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=609 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1812120000 definitions=main-1908150149 A lot of functions need to be noglob. My current workflow is to define the f= unction as `function sth-raw()` and then `alias sth=3D'noglob sth-raw'`. (I u= se different names so that I can use `which sth-raw` to easily inspect the s= ource.) It=E2=80=99d be so much better if zsh adds a way to handle this more elegant= ly. Something like `noglobfun sth() ...`. (I personally turn off all auto-corrections, otherwise I=E2=80=99d probably h= ave had the same problem with nocorrect, too.)=