From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11666 invoked from network); 19 Mar 2002 23:28:00 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 19 Mar 2002 23:28:00 -0000 Received: (qmail 18761 invoked by alias); 19 Mar 2002 23:27:09 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4759 Received: (qmail 18737 invoked from network); 19 Mar 2002 23:27:07 -0000 Date: Wed, 20 Mar 2002 10:29:02 +1100 From: Nick Croft To: zsh-users@sunsite.dk Subject: zmodload zmv ? Message-ID: <20020319232902.GB878@acay.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i X-Editor: Vim http://www.vim.org/ Organisation: Theme and Variations X-Operating-System: Linux/2.2.14-12 (i686) X-Uptime: 10:03:42 up 7 days, 21:32, 7 users, load average: 0.04, 0.04, 0.01 zmv looks to be a very handy utility. With Debian, it's located under /usr/share/zsh/4.0.4/functions/Misc . I've tried starting it with zmodload zmv - nothing. I've moved, chowned, and chmodded it to a local fpath. What's the trick? All the googling points to the same paragraph being quoted. The source contains a pretty good description of its uses but no hint as to startup. It tries to do something if I explicitly quote the path in the command line. But emulating the example produced the following nicko@work ~/tmp % ../.myfns/zmv '(*).bmp '$1.BMP' ../.myfns/zmv: emulate: command not found ../.myfns/zmv: local can only be used in a function ../.myfns/zmv: typeset: unknown option: `-A' ../.myfns/zmv: integer: command not found ../.myfns/zmv: setopt: command not found I imagine those calls would work without problems if it could be loaded with zmodload. Nick