From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11377 invoked by alias); 2 Dec 2016 23:36:58 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22141 Received: (qmail 24042 invoked from network); 2 Dec 2016 23:36:58 -0000 X-Qmail-Scanner-Diagnostics: from mta03.eastlink.ca by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(24.224.136.9):SA:0(-3.6/5.0):. Processed in 1.480426 secs); 02 Dec 2016 23:36:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RP_MATCHES_RCVD,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: rayandrews@eastlink.ca X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.eastlink.ca designates 24.224.136.9 as permitted sender) X-Authority-Analysis: v=2.2 cv=HKaBLclv c=1 sm=1 tr=0 a=MRfsBU9oQI9kG0qxcmz51g==:117 a=MRfsBU9oQI9kG0qxcmz51g==:17 a=IkcTkHD0fZMA:10 a=SHoP5eu87h5gP-IvRD8A:9 a=QEXdDO2ut3YA:10 X-EL-IP-NOAUTH: 24.207.105.139 Message-id: <58420592.4040406@eastlink.ca> Date: Fri, 02 Dec 2016 15:36:50 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: problem with zmv References: <5840492A.2090304@eastlink.ca> <5841DF8C.8000602@eastlink.ca> In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit On 12/02/2016 01:15 PM, Bart Schaefer wrote: > You don't run zmv with "." -- it's intended to be either autoloaded or > run as a script i.e. in a subshell. If you load it with "." then the > "emulate -LR zsh" at the top affects your entire shell, rather than > being local to the function. > Yikes, bad memories of autoload, IIRC I was bashing my head against that. Time to try again more compliantly perhaps; my rebellious streak is almost gone. But, I just now commented out the 'emulate' line, and it seems to run fine. Is that safe?