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

Re: zmodload zmv ?



On Wed, 20 Mar 2002, Nick Croft wrote:

> I've tried starting it with zmodload zmv - nothing.

zmodload is for shared library objects, not shell functions.  You want
`autoload zmv'.

Try "man zshcontrib", or "info zsh" and look at the "User Contributions"
section.

>         nicko@work ~/tmp % ../.myfns/zmv '(*).bmp '$1.BMP'
>         ../.myfns/zmv: emulate: command not found

At a guess, running it as a shell script is trying to feed it to /bin/sh
rather than to /bin/zsh, which simply won't work.



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