From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1712 invoked from network); 18 Feb 2009 09:39:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Feb 2009 09:39:50 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 13844 invoked from network); 18 Feb 2009 09:39:46 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Feb 2009 09:39:46 -0000 Received: (qmail 394 invoked by alias); 18 Feb 2009 09:39:40 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26574 Received: (qmail 385 invoked from network); 18 Feb 2009 09:39:40 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 18 Feb 2009 09:39:40 -0000 Received: from cluster-g.mailcontrol.com (cluster-g.mailcontrol.com [208.87.233.190]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 8708C8108CBC for ; Wed, 18 Feb 2009 10:39:36 +0100 (CET) Received: from rly24g.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly24g.srv.mailcontrol.com (MailControl) with ESMTP id n1I9dSRT013363 for ; Wed, 18 Feb 2009 09:39:28 GMT Received: from submission.mailcontrol.com (submission.mailcontrol.com [86.111.216.190]) by rly24g.srv.mailcontrol.com (MailControl) id n1I9cZf3007869 for zsh-workers@sunsite.dk; Wed, 18 Feb 2009 09:38:35 GMT Received: from dalamsexb02.AMERICAS.ROOT.PRI ([65.208.56.47]) by rly24g-eth0.srv.mailcontrol.com (envelope-sender Peter.Stephenson@csr.com) (MIMEDefang) with ESMTP id n1I9bBFq029554; Wed, 18 Feb 2009 09:38:35 +0000 (GMT) Received: from cameurexb01.EUROPE.ROOT.PRI ([10.100.137.61]) by dalamsexb02.AMERICAS.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Wed, 18 Feb 2009 03:38:17 -0600 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Wed, 18 Feb 2009 09:38:15 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.14.2/8.13.4) with ESMTP id n1I9cFnc014574; Wed, 18 Feb 2009 09:38:15 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.14.2/8.14.2/Submit) with ESMTP id n1I9cFQM014570; Wed, 18 Feb 2009 09:38:15 GMT Message-Id: <200902180938.n1I9cFQM014570@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: Arkadiusz Miskiewicz cc: zsh-workers@sunsite.dk Subject: Re: force overwrite in completions In-reply-to: <200902180914.53604.arekm@maven.pl> References: <200902180914.53604.arekm@maven.pl> Comments: In-reply-to Arkadiusz Miskiewicz message dated "Wed, 18 Feb 2009 09:14:53 +0100." Date: Wed, 18 Feb 2009 09:38:15 +0000 From: Peter Stephenson X-OriginalArrivalTime: 18 Feb 2009 09:38:15.0749 (UTC) FILETIME=[9FC26750:01C991AC] X-Scanned-By: MailControl A_08_51_00 (www.mailcontrol.com) on 10.71.1.134 X-Virus-Scanned: ClamAV 0.92.1/9001/Wed Feb 18 05:29:20 2009 on bifrost X-Virus-Status: Clean Arkadiusz Miskiewicz wrote: > I'm using zsh on a system which shares $HOME between two separate > servers and when using both at the same time, switching to root at > these (and so on) I sometimes get a question from mv asking me if I > want to overwrite a file over and over. Hmm.... is "mv" aliased to "mv -i"? If so, loading compinit with "autoload -U compinit" should stop the alias being used at this point. I ask because if mv is aliased then adding extra options on the end of the alias probably isn't the right fix. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070