Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ignore globs that do not match -> prevent function from exiting
- X-seq: zsh-users 7582
- From: Eric Smith <es@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: ignore globs that do not match -> prevent function from exiting
- Date: Tue, 22 Jun 2004 08:56:12 +0200
- In-reply-to: <Pine.LNX.4.44.0406140121530.32342-100000@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040614073704.GA18465@xxxxxxxxxxxx> <Pine.LNX.4.44.0406140121530.32342-100000@xxxxxxxxxxxxxxxxxx>
Bart Schaefer said:
> mpg_glob() { mpg321 *${~^@}* }
> alias mpg='noglob mpg_glob'
If the globbed argument list includes an invalid file or something that
causes mpg321 to fall over, then mpg_glob() exits.
How could I avoid this?
thanks
--
Eric Smith
Messages sorted by:
Reverse Date,
Date,
Thread,
Author