From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25134 invoked from network); 7 Aug 2005 06:21:39 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Aug 2005 06:21:39 -0000 Received: (qmail 27584 invoked from network); 7 Aug 2005 06:21:31 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Aug 2005 06:21:31 -0000 Received: (qmail 21239 invoked by alias); 7 Aug 2005 06:21:25 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9259 Received: (qmail 21227 invoked from network); 7 Aug 2005 06:21:24 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Aug 2005 06:21:24 -0000 Received: (qmail 26630 invoked from network); 7 Aug 2005 06:21:24 -0000 Received: from ykdmp01.yokohama.riken.go.jp (134.160.82.30) by a.mx.sunsite.dk with SMTP; 7 Aug 2005 06:21:20 -0000 Received: (qmail 18684 invoked by uid 0); 7 Aug 2005 15:21:16 +0900 Received: from unknown (HELO jota.gsc.riken.go.jp) (127.0.0.1) by 0 with SMTP; 7 Aug 2005 15:21:16 +0900 Received: from ([jota.gsc.riken.go.jp (134.160.84.23)]) by ykdmp01 (InterScan E-Mail VirusWall Unix); Sun, 07 Aug 2005 15:21:16 +0900 (JST) Received: from [10.64.67.139] (ipm04.gsc.riken.go.jp [134.160.83.74]) by jota.gsc.riken.go.jp (Postfix) with ESMTP id 5C1AF34854DF for ; Sun, 7 Aug 2005 15:21:16 +0900 (JST) Mime-Version: 1.0 (Apple Message framework v733) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: zsh-users@sunsite.dk From: Wataru Kagawa Subject: a question about argument corrections Date: Sun, 7 Aug 2005 15:21:16 +0900 X-Mailer: Apple Mail (2.733) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 Hi all, I find the 'correctall' option to be useful in most cases, except for the case described below. zsh% ls foo1 foo2 foo3 zsh% cp foo3 foo4 zsh: correct 'foo4' to 'foo3'? [nyae] n The same thing happens for the mv command. zsh% mv foo3 foo4 zsh: correct 'foo4' to 'foo3'? [nyae] n I wouldn't want to be asked for the correction as long as foo4 doesn't exist. Is there a way to customize this so that only the first file is checked when the command is cp or mv? Suggestions are greatly appreciated. Wataru Kagawa