Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: Implementation of simple newuser module (how to start?)
- X-seq: zsh-workers 21530
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: Re: Implementation of simple newuser module (how to start?)
- Date: Tue, 26 Jul 2005 16:08:27 +0100
- In-reply-to: <1050726141230.ZM29409@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <ef5675f3050717131624a4aad7@xxxxxxxxxxxxxx> <200507201401.j6KE1k5i004733@xxxxxxxxxxxxxx> <200507201804.j6KI474K004991@xxxxxxxxxxxxxx> <1050723051057.ZM10317@xxxxxxxxxxxxxxxxxxxxxxx> <200507250936.j6P9aVAR005452@xxxxxxxxxxxxxx> <200507261021.j6QALB6j032205@xxxxxxxxxxxxxx> <1050726141230.ZM29409@xxxxxxxxxxxxxxxxxxxxxxx>
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.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author