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

Re: zmv, case insensivity and possible the lack of coffee



2015/08/08 14:43, meino.cramer@xxxxxx wrote:
> If even detox fails, the script fails none of the zmvs will be
> executed.
> If the first zmv failed the second will not be tried.

Try putting 'set +e' at the beginning of the script:

#!/bin/zsh
set +e
detox ...

If this works, then I suspect you have 'set -e' (or 'setopt errexit')
somewhere in your startup scripts (/etc/zshenv or ~/.zshenv ?).



Messages sorted by: Reverse Date, Date, Thread, Author