From: Wayne Davison <wayned@users.sourceforge.net>
To: zsh-users@sunsite.dk
Subject: Re: globbing and quoting in a function
Date: Tue, 19 Jul 2005 08:29:33 -0700 [thread overview]
Message-ID: <20050719152933.GA23645@blorf.net> (raw)
In-Reply-To: <20050719145955.GD3593@localhost.localdomain>
On Wed, Jul 20, 2005 at 12:59:55AM +1000, Doug Kearns wrote:
> You'll need to quote the * as well.
Or use "noglob" as a prefix, which can be done using an alias:
alias lsnew='noglob lsnew'
Then you can use "lsnew foo*" without quoting any wildcards.
(I vaguely recall that having an alias call a function of the same name
might cause a problem in some older zsh versions, but it works fine in
4.2.5.)
..wayne..
next prev parent reply other threads:[~2005-07-19 15:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-19 14:27 Stefan Reichör
2005-07-19 14:59 ` Doug Kearns
2005-07-19 15:29 ` Wayne Davison [this message]
2005-07-20 3:54 ` Bart Schaefer
2005-07-20 5:24 ` Stefan Reichör
2005-07-20 7:48 ` Bart Schaefer
2005-07-20 8:29 ` Stefan Reichör
2005-07-19 15:35 ` Stefan Reichör
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050719152933.GA23645@blorf.net \
--to=wayned@users.sourceforge.net \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).