From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2551 invoked from network); 7 Mar 2005 23:47:49 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Mar 2005 23:47:49 -0000 Received: (qmail 95076 invoked from network); 7 Mar 2005 23:47:42 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Mar 2005 23:47:42 -0000 Received: (qmail 11991 invoked by alias); 7 Mar 2005 23:47:34 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8562 Received: (qmail 11977 invoked from network); 7 Mar 2005 23:47:34 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Mar 2005 23:47:34 -0000 Received: (qmail 94073 invoked from network); 7 Mar 2005 23:47:34 -0000 Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by a.mx.sunsite.dk with SMTP; 7 Mar 2005 23:47:30 -0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D8Rr2-0003PR-Kb for zsh-users@sunsite.dk; Tue, 08 Mar 2005 00:41:40 +0100 Received: from 241.119-84-212.ippool.ndo.com ([212.84.119.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2005 00:41:40 +0100 Received: from david by 241.119-84-212.ippool.ndo.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2005 00:41:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: zzapper Subject: Autoloaded bash shell scripts treated as zsh Date: Mon, 7 Mar 2005 23:41:10 +0000 (UTC) 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: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 212.84.119.241 (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.54u1 [en]) Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: gcszu-zsh-users@m.gmane.org X-MailScanner-To: zsh-users@sunsite.dk X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 Hi, I used a tip from one of the faqs (Peter Stephenson I think) to autoload all my zsh shell scripts. autoload ${fpath[1]}/*(:t) #autoload all functions in $fpath As I also use the same directory for my legacy bash scripts, I was unpleasantly surprised to find that these scripts had also been autoloaded and were now being treated as zsh scripts. Easy to fix, either I make the scripts zsh compatible or move them elsewhere. Q1) But is that expected behaviour (latest zsh on cygwin)? Q2) I was surprised to what extent my bash scripts worked as zsh (mostly only required the adding of a pre-declaration of any variables), is a reasonable proportion of bash available from within zsh? zzapper BTW this is posted via http://post.gmane.org/post.php?group=gmane.comp.shells. zsh.user