zsh-users
 help / color / mirror / code / Atom feed
* Suppressing "no matches found" Glob Message?
@ 2004-06-27  2:39 Aaron Davies
  2004-06-27 10:42 ` DervishD
  0 siblings, 1 reply; 14+ messages in thread
From: Aaron Davies @ 2004-06-27  2:39 UTC (permalink / raw)
  To: zsh-users

Is there an easy way to temporarily turn off the "no matches found" 
message that a failed glob returns? I'm looking mainly for something 
simple enough to use in an alias--I have an alias called "lspf" which 
is defined as "ls **/*(.)", but I'd like to make it return something 
custom if no such files exist. Redirecting stderr doesn't help, because 
(I assume) the message is generated by zsh, not ls.
-- 
     __                      __
    /  )                    /  )
   /--/ __. .__  ______    /  / __. , __o  _  _
  /  (_(_/|_/ (_(_) / (_  (__/_(_/|_\/ <__</_/_)_


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-07-01  4:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-27  2:39 Suppressing "no matches found" Glob Message? Aaron Davies
2004-06-27 10:42 ` DervishD
2004-06-27 22:50   ` Aaron Davies
2004-06-28  8:53     ` DervishD
2004-06-28 22:53       ` Aaron Davies
2004-06-29  8:52         ` DervishD
2004-06-29  9:56           ` Lloyd Zusman
2004-06-29 10:41             ` DervishD
2004-06-29 16:12       ` Bart Schaefer
2004-06-29 16:34         ` DervishD
2004-06-29 23:04         ` Aaron Davies
2004-06-30 10:10           ` Bart Schaefer
2004-07-01  4:28             ` Aaron Davies
2004-06-27 22:52   ` Aaron Davies

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).