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 21502
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: Re: Implementation of simple newuser module (how to start?)
- Date: Sat, 23 Jul 2005 05:10:57 +0000
- In-reply-to: <200507201804.j6KI474K004991@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <ef5675f3050717131624a4aad7@xxxxxxxxxxxxxx> <200507201401.j6KE1k5i004733@xxxxxxxxxxxxxx> <200507201804.j6KI474K004991@xxxxxxxxxxxxxx>
On Jul 20, 7:04pm, Peter Stephenson wrote:
} Subject: Re: PATCH: Re: Implementation of simple newuser module (how to st
}
} Here's a basic newuser script to be installed and the outline of the
} function that will be doing the work.
}
} +# zsh script sourced at startup when a user is found to have
} +# no startup files. See the documentation for the zsh/newuser
} +# module in zshmodules(1).
} +
} +autoload -U zsh-install-newuser
} +zsh-install-newuser
I suggest that instead this be:
autoload -U +X zsh-install-newuser && zsh-install-newuser
That is, don't execute the function if it can't be autoloaded, and don't
redefine it if it is already defined.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author