From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26129 invoked from network); 17 May 2007 23:24:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=no version=3.2.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 May 2007 23:24:28 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 69771 invoked from network); 17 May 2007 23:24:21 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 May 2007 23:24:21 -0000 Received: (qmail 22326 invoked by alias); 17 May 2007 23:24:14 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11497 Received: (qmail 22315 invoked from network); 17 May 2007 23:24:13 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 May 2007 23:24:13 -0000 Received: (qmail 68557 invoked from network); 17 May 2007 23:24:13 -0000 Received: from cavecanem.ucsc.edu (128.114.150.237) by a.mx.sunsite.dk with SMTP; 17 May 2007 23:24:09 -0000 Received: from cavecanem.ucsc.edu (localhost [127.0.0.1]) by cavecanem.ucsc.edu (8.13.6/8.13.5) with ESMTP id l4HNNsSG021998; Thu, 17 May 2007 16:23:54 -0700 (PDT) Received: (from web@localhost) by cavecanem.ucsc.edu (8.13.6/8.13.1/Submit) id l4HNNnmv021997; Thu, 17 May 2007 16:23:49 -0700 (PDT) X-Authentication-Warning: cavecanem.ucsc.edu: web set sender to wgscott@chemistry.ucsc.edu using -f Received: from 66.167.127.195 (SquirrelMail authenticated user wgscott) by mail.acg.ucsc.edu with HTTP; Thu, 17 May 2007 16:23:49 -0700 (PDT) Message-ID: <34739.66.167.127.195.1179444229.squirrel@mail.acg.ucsc.edu> In-Reply-To: <20070517225932.GA581@gandalf.pelennor.net> References: <20070517225932.GA581@gandalf.pelennor.net> Date: Thu, 17 May 2007 16:23:49 -0700 (PDT) Subject: Re: disable zsh/newuser From: "William Scott" To: "Matthew Rench" Cc: zsh-users@sunsite.dk User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal If it is any consolation, your empty function is exactly the solution I want (i.e., to only disable this in a startup script, so my users don't mess with what I have)! Matthew Rench wrote: > I am trying to find a way to disable the automatic execution of the > zsh/newuser module at startup for users without .z files. So far, the > only solution I have been able to find is to add this line to my > global zshenv file: > > zsh-newuser-install () {} > > This seems like a kludge, though, and I was wondering if there was a > "right" way to do this? > > mdr >