diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-11-23 11:29:20 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-11-23 11:29:20 +0000 |
commit | 325a7c041715f7602ad55161cf15e14b24f97b97 (patch) | |
tree | 12de09272aebda9c993209a39cf7857b2c73f01f /INSTALL | |
parent | e14491ea7f0548abdc8020bddf330e94c711085b (diff) | |
download | zsh-325a7c041715f7602ad55161cf15e14b24f97b97.tar.gz zsh-325a7c041715f7602ad55161cf15e14b24f97b97.tar.xz zsh-325a7c041715f7602ad55161cf15e14b24f97b97.zip |
22013: initial go at a working zsh-newuser-install
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL index 1d5c5b423..fb461cfe7 100644 --- a/INSTALL +++ b/INSTALL @@ -231,6 +231,31 @@ Note that this is mutually exclusive with using the source directories as make can become confused by build files created in the source directories. +================================ +AUTOMATIC NEW USER CONFIGURATION +================================ + +In the default configuration, the shell comes with a system based around +the zsh/newuser add-on module that detects when a user first starts the +shell interactively and has no initialisation files (.zshenv, .zshrc, +.zprofile or .zlogin). The shell then executes code in the file +scripts/newuser in the shared library area (by default +/usr/local/share/zsh/<VERSION>/scripts/newuser). This feature can be +turned off simply by removing this script. The module can be removed +entirely from the configured shell by editing the line starting +"name=zsh/newuser" int the config.modules file, which is generated in the +top level distribution directory during configuration: change the line to +include "link=no auto=no". + +The supplied script executes the function supplied as +Functions/Newuser/zsh-newuser-install. This function is currently under +development. It is probably preferable for administrators who wish to +customize the system their own way to edit the newuser script in +scripts/newuser. Also, as there is currently no internationalization +support, administrators of sites with users who mostly do not speak English +may wish not to install the zsh/newuser module. + + ===================== CONFIGURATION OPTIONS ===================== |