From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9176 invoked from network); 23 Mar 2004 21:43:40 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 23 Mar 2004 21:43:40 -0000 Received: (qmail 25473 invoked by alias); 23 Mar 2004 21:43:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7249 Received: (qmail 25462 invoked from network); 23 Mar 2004 21:43:21 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 23 Mar 2004 21:43:21 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 23 Mar 2004 21:43:21 -0000 Received: (qmail 15789 invoked from network); 23 Mar 2004 21:43:21 -0000 Received: from main.gmane.org (80.91.224.249) by a.mx.sunsite.dk with SMTP; 23 Mar 2004 21:43:16 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B5tg3-00046k-00 for ; Tue, 23 Mar 2004 22:43:15 +0100 Received: from isi-dialin-129-89.isionline-dialin.de ([195.158.129.89]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Mar 2004 22:43:15 +0100 Received: from thorsten by isi-dialin-129-89.isionline-dialin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Mar 2004 22:43:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: Thorsten Kampe Subject: "autoload -U" expanding alias Date: Tue, 23 Mar 2004 22:43:12 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: isi-dialin-129-89.isionline-dialin.de User-Agent: 40tude_Dialog/2.0.10.1de Sender: news X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 [zsh 4.2.0 on Gentoo] I have a script that zcompiles some rcfiles. It's asking whether to overwrite files: re-compiling /home/thorsten/.zsh/.zlogout.zwc: mv: overwrite `/home/thorsten/.zsh/.zlogout.zwc.old', overriding mode 0400? What's happening and how can I prevent this question? The "-U" keeps my "mv -i" alias from being expanded.... Thorsten [1] ,--- | #! /bin/zsh -f | emulate -LR zsh | | localzdotdir=~/.zsh | nwzdotdir=~/mnt/nwhome/ifolder/conf/zsh | | autoload -U zrecompile | zrecompile -p -R /etc/profile.d/zshell.zsh -- \ | -R /etc/zprofile -- \ | -R /etc/zsh/zprofile -- \ | -M $localzdotdir/.zcompdump -- \ | -R $localzdotdir/.zlogin -- \ | -R $localzdotdir/.zlogout -- \ | -R $localzdotdir/.zshrc -- \ | -R ~/.zshenv -- \ | -M $nwzdotdir/.zcompdump -- \ | -R $nwzdotdir/.zlogin -- \ | -R $nwzdotdir/.zlogout -- \ | -R $nwzdotdir/.zshrc `---