From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5194 invoked by alias); 8 Nov 2013 06:01:31 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18123 Received: (qmail 26749 invoked from network); 8 Nov 2013 06:01:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <131107220109.ZM24963@torch.brasslantern.com> Date: Thu, 07 Nov 2013 22:01:09 -0800 In-reply-to: <20131108031646.GZ3544@sym.noone.org> Comments: In reply to Axel Beckert "Re: zsh 5.0.2-test-1 is available" (Nov 8, 4:16am) References: <20131106202321.4a48c77b@pws-pc.ntlworld.com> <20131107153315.GW3544@sym.noone.org> <20131107160551.7aa195dc@pwslap01u.europe.root.pri> <20131107191806.GA85153@redoubt.spodhuis.org> <131107173627.ZM24325@torch.brasslantern.com> <20131108031646.GZ3544@sym.noone.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: zsh 5.0.2-test-1 is available MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Nov 8, 4:16am, Axel Beckert wrote: } } ~ -> zmodload -F zsh/stat b:zstat } ~ -> zmodload -a zsh/stat zstat } zmodload: failed to add builtin `zstat' } ~ -> print $ZSH_VERSION $ZSH_PATCHLEVEL } 4.3.10 Debian } } Nevertheless I don't get that error message via my zshrc, neither with } 4.3.10 (Debian Squeeze/Oldstable), 4.3.17 (Debian Wheezy/Stable) nor } 5.0.2 (Debian Sid/Unstable), just 5.0.2-test-1. Hrm. A look at grml's /etc/zsh/zshrc via github shows that these ... } etc/zsh/zshrc: zmodload zsh/zprof } etc/zsh/zshrc: zmodload -i zsh/${mod} 2>/dev/null || print "Notice: no ${mod} available :(" } etc/zsh/zshrc: zmodload -a zsh/stat zstat } etc/zsh/zshrc: zmodload -a zsh/zpty zpty } etc/zsh/zshrc: zmodload -ap zsh/mapfile mapfile ... are all protected by a test for "is4", which means they should not be getting executed by 5.0.2-test-1: is4(){ [[ $ZSH_VERSION == <4->* ]] && return 0 return 1 } Unless PWS's commit typo of 4.0.x for 5.0.x somehow extended into the $ZSH_VERSION variable?