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

Re: problem with zmv



On 12/02/2016 03:47 PM, Bart Schaefer wrote:
On Dec 2,  3:36pm, Ray Andrews wrote:
}
} I just now commented out the 'emulate' line, and it
} seems to run fine.  Is that safe?

It's safe as long as your setopts are "close enough" to the default zsh
configuration plus extendedglob.  If you use any of the options such
as globassign or shwordsplit that are going to change certain command
line intepretations, then no, it's not safe.

Thanks Bart. No, I'm not that sort of person. I'll leave it commented for now with a caution and throw myself at autoload again since that seems kosher. BTW, don't I remember something to the effect of changing setopts but only for the duration of a given script? If so, that sounds like a healthy way of doing it.



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