zsh-users
 help / color / mirror / code / Atom feed
From: Toshiro <toshiro@internet.com.uy>
To: zsh-users@sunsite.dk
Subject: Re: zsh: no matches found
Date: Sun, 20 Mar 2005 23:04:44 -0200	[thread overview]
Message-ID: <200503202304.44332.toshiro@internet.com.uy> (raw)
In-Reply-To: <20050321004759.GC5243@dan.emsphone.com>

> In the last episode (Mar 20), Toshiro said:
> > Every time I type something like 'find . -name *log' I get the error:
> >  zsh: no matches found
> > when there's no file matching the wildcard in the current directory.
> > Is there any way to change this behaviour? (I don't want to escape every
> > asterisk I type).
>
> alias find="noglob find"
>
> will work in this case.  You don't want to do it globally, though,
> since almost all commands expect the shell to expand wildcards for
> them.

Is this the only way? In other shells this is implemented in a very simple 
way, if the wildcard can be expanded, then it is expanded, otherwise an 
asterisk is sent as an argument to the application. 

Why is it so complex in zsh? What are the advantages of this implementation?

Toshiro.


  reply	other threads:[~2005-03-21  1:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-21  0:38 Toshiro
2005-03-21  0:47 ` Dan Nelson
2005-03-21  1:04   ` Toshiro [this message]
2005-03-21  1:08     ` Clint Adams
2005-03-21  2:36       ` Toshiro
2005-03-21 16:45     ` Wayne Davison
2014-04-20 16:12 ugaciaka
2014-04-20 16:18 ` Igor Sosa Mayor
2014-04-20 16:51   ` Sven Joachim
2014-04-20 17:35     ` Igor Sosa Mayor
2014-04-21 19:46       ` John Eikenberry
2014-04-22  6:02         ` lilydjwg
2014-04-22  7:05           ` Bart Schaefer
2014-04-24  4:10             ` lilydjwg
2014-04-22 13:28         ` Igor Sosa Mayor
2014-04-20 16:38 ` Kurtis Rader
2014-04-20 16:47   ` Kurtis Rader
2014-04-21  7:26   ` ugaciaka

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=200503202304.44332.toshiro@internet.com.uy \
    --to=toshiro@internet.com.uy \
    --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).