From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20272 invoked from network); 4 Jun 1999 11:52:48 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 Jun 1999 11:52:48 -0000 Received: (qmail 18570 invoked by alias); 4 Jun 1999 11:52:40 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6463 Received: (qmail 18563 invoked from network); 4 Jun 1999 11:52:39 -0000 From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: pws-20: problems with "$@" Date: Fri, 4 Jun 1999 15:52:01 +0400 Message-ID: <003201beae80$a8146b70$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal This worked for me under all ZSH versions: bor@itsrm2:/opt%> which cd cd () { builtin cd "$@" > /dev/null } But now I get: bor@itsrm2:~/src%> cd bor@itsrm2:~/src%> /bin/pwd /home/bor/src bor@itsrm2:~/src%> builtin cd bor@itsrm2:~%> /bin/pwd /home/bor the patch list: 6392 6395 6404 6410 6411 6414 6416 6421 6424 6430 6431 6433 I use "$@" as I'd like to make sure, that thye above works irrespectively of SH_WORD_SPLIT settings. /andrej