From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14656 invoked from network); 26 Jul 2005 15:08:41 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Jul 2005 15:08:41 -0000 Received: (qmail 29018 invoked from network); 26 Jul 2005 15:08:35 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Jul 2005 15:08:35 -0000 Received: (qmail 17011 invoked by alias); 26 Jul 2005 15:08:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21530 Received: (qmail 17002 invoked from network); 26 Jul 2005 15:08:32 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Jul 2005 15:08:32 -0000 Received: (qmail 28704 invoked from network); 26 Jul 2005 15:08:32 -0000 Received: from mailhost1.csr.com (HELO MAILSWEEPER01.csr.com) (81.105.217.43) by a.mx.sunsite.dk with SMTP; 26 Jul 2005 15:08:28 -0000 Received: from exchange03.csr.com (unverified [10.100.137.60]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Tue, 26 Jul 2005 16:06:22 +0100 Received: from csr.com ([10.102.144.127]) by exchange03.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 26 Jul 2005 16:10:44 +0100 To: zsh-workers@sunsite.dk Subject: Re: PATCH: Re: Implementation of simple newuser module (how to start?) In-reply-to: <1050726141230.ZM29409@candle.brasslantern.com> References: <200507201401.j6KE1k5i004733@news01.csr.com> <200507201804.j6KI474K004991@news01.csr.com> <1050723051057.ZM10317@candle.brasslantern.com> <200507250936.j6P9aVAR005452@news01.csr.com> <200507261021.j6QALB6j032205@news01.csr.com> <1050726141230.ZM29409@candle.brasslantern.com> Comments: In-reply-to Bart Schaefer message dated "Tue, 26 Jul 2005 14:12:30 -0000." Date: Tue, 26 Jul 2005 16:08:27 +0100 Message-ID: <23417.1122390507@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 26 Jul 2005 15:10:44.0453 (UTC) FILETIME=[31DCD150:01C591F4] X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 Bart Schaefer wrote: > It was actually my intention that the function not be executed if it > is not the same function loaded by this module. If the sysadmin has > gone to the trouble of defining a zsh-install-newuser [sic] then he > ought to run it himself, or be able to decide when it is run, without > this module jumping in. OK, I can see that's reasonable, but I would hope any sysadmin sophisticated enough to have their own mechanism would remove the zsh/newuser module. (We will need to add notes to INSTALL and probably README when we know what it actually does to give the sufficiently aware notice.) > } I've made the function a bit safer, so that if it gets run > } automatically it doesn't trash .zshrc. > > You mean, if it gets run manually? Yes. > I'd have been tempted to setopt noclobber after the emulate ... As I indicated, I imagine the code will mature in such away as to make this less relevant, but I think we're covered for now. pws ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. **********************************************************************