Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ignore globs that do not match -> prevent function from exiting



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