Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: disable zsh/newuser



On Fri, May 18, 2007 at 10:20:32AM +0100, Peter Stephenson wrote:
> 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.
> 
> It's described in the INSTALL file.
> 
> This feature can be turned off simply by removing this script.

I guess I had assumed that there would be some way to disable from
executing automatically without getting rid of it altogether, based
on this text from the man page:

  If no personal intialization files exist for the current user, a
  function is run to help you change some of the most common
  settings. It won't appear if your administrator has disabled the
  zsh/newuser module. The function is designed to be self-explanatory.
  You can run it by hand with...

which seems to indicate that it can still be run manually after it's
disabled.

Also, anyone who installs zsh from a distro package would have to
manually re-remove that script file each time their package was
upgraded.

mdr



Messages sorted by: Reverse Date, Date, Thread, Author