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.0 required=5.0 tests=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 50c64c79 for ; Sun, 19 Jan 2020 20:31:19 +0000 (UTC) Received: (qmail 16843 invoked by alias); 19 Jan 2020 20:31:12 -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: 45331 Received: (qmail 17993 invoked by uid 1010); 19 Jan 2020 20:31:12 -0000 X-Qmail-Scanner-Diagnostics: from out3-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25699. spamassassin: 3.4.2. Clear:RC:0(66.111.4.27):SA:0(-2.6/5.0):. Processed in 4.9436 secs); 19 Jan 2020 20:31:12 -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) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudefgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomhepfdffrghnihgvlhcuufhhrghhrghffdcuoegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvgeqnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgenucevlhhushhtvghrufhiiigv pedt X-ME-Proxy: X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-754-g09d1619-fmstable-20200113v1 Mime-Version: 1.0 Message-Id: In-Reply-To: <20200119163909.jdvcwrydwkznnrhm@jo-so.de> References: <20200119163909.jdvcwrydwkznnrhm@jo-so.de> Date: Sun, 19 Jan 2020 20:30:09 +0000 From: "Daniel Shahaf" To: =?UTF-8?Q?J=C3=B6rg_Sommer?= , zsh-workers@zsh.org Subject: Re: How to use noglob with an alias? Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable J=C3=B6rg Sommer wrote on Sun, 19 Jan 2020 16:39 +00:00: > Hello, >=20 > how can I use an alias and noglob? >=20 > ```sh > % alias foo=3Dtrue > % foo > % noglob foo > zsh: command not found: foo > ``` Add =C2=ABalias noglob=3D'noglob '=C2=BB to your configuration, otherwis= e the word after 'noglob' wouldn't be subject to alias expansion. (That's the defa= ult; some reserved words, such as 'time', are an exception.)