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=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13558 invoked from network); 24 Jun 2020 00:48:03 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 24 Jun 2020 00:48:03 -0000 Received: (qmail 20620 invoked by alias); 24 Jun 2020 00:47:50 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: Sender: zsh-users@zsh.org X-Seq: 24955 Received: (qmail 8760 invoked by uid 1010); 24 Jun 2020 00:47:50 -0000 X-Qmail-Scanner-Diagnostics: from brown.elm.relay.mailchannels.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25850. spamassassin: 3.4.4. Clear:RC:0(23.83.212.23):SA:0(-2.0/5.0):. Processed in 3.792375 secs); 24 Jun 2020 00:47:50 -0000 X-Envelope-From: pedz@easesoftware.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at spf1.mailchannels.net designates 23.83.212.23 as permitted sender) X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MailChannels-Auth-Id: a2hosting X-Soft-Inform: 61c46af3046a3348_1592959628777_1559328224 X-MC-Loop-Signature: 1592959628777:3925815484 X-MC-Ingress-Time: 1592959628777 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Alias call in function fails... From: Perry Smith In-Reply-To: Date: Tue, 23 Jun 2020 19:47:05 -0500 Cc: Zsh Users Content-Transfer-Encoding: quoted-printable Message-Id: <8BE2B98E-923F-4576-9664-825E532FA3BE@easesoftware.com> References: <20200623120429.2c889b67@tarpaulin.shahaf.local2> <2982509.CQOukoFCf9@nbkamil> <0DAEBDBF-F680-4BE8-BF63-AEE98236F631@easesoftware.com> <20200623225409.0380caad@tarpaulin.shahaf.local2> <31DB587E-DFAD-46F6-84A9-1419A9FADE99@easesoftware.com> To: Bart Schaefer X-Mailer: Apple Mail (2.3608.80.23.2.2) X-AuthUser: pedz+easesoftware.com@mi3-ss4.a2hosting.com > On Jun 23, 2020, at 6:43 PM, Bart Schaefer = wrote: >=20 > On Tue, Jun 23, 2020 at 4:30 PM Perry Smith = wrote: >>=20 >> Ahh=E2=80=A6 ok. Thank you. I remember reading that now (before = your changes) >> but didn=E2=80=99t really ingest it. >=20 > The more classic example is something excessively abbreviated such as >=20 > % alias -g L=3D'|less' > % find ~ -name \*.gif L For me, I think I would more likely do something like: % alias -g opts=3D=E2=80=9C-a -b -c -d=E2=80=9D % foo opts path/to/file But, given my relative inexperience with zsh, I not think about alias -g = and would likely do: % opts=3D=E2=80=9C-a -b -c -d=E2=80=9D % foo $opts path/to/file or use alias -g to save a really long ugly path. etc.