about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/mod_newuser.yo4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 995909955..aec5268b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
 
 2008-12-29  Clint Adams  <clint@zsh.org>
 
+	* 26185: Doc/Zsh/mod_newuser.yo: fix two places where path to
+	global zshenv was specified statically.
+
 	* Richard Hartmann: 26175: Completion/Unix/Command/_vim: updates
 	for vim completion.
 
diff --git a/Doc/Zsh/mod_newuser.yo b/Doc/Zsh/mod_newuser.yo
index 8c37c7059..92a64a013 100644
--- a/Doc/Zsh/mod_newuser.yo
+++ b/Doc/Zsh/mod_newuser.yo
@@ -5,7 +5,7 @@ The tt(zsh/newuser) module is loaded at boot if it is
 available, the tt(RCS) option is set, and the tt(PRIVILEGED) option is not
 set (all three are true by default).  This takes
 place immediately after commands in the global tt(zshenv) file (typically
-tt(/etc/zshenv)), if any, have been executed.  If the module is not
+tt(zshenv())), if any, have been executed.  If the module is not
 available it is silently ignored by the shell; the module may safely be
 removed from tt($MODULE_PATH) by the administrator if it is not required.
 
@@ -34,7 +34,7 @@ files for the user, however any valid shell code will be executed.
 The tt(zsh/newuser) module is then unconditionally unloaded.
 
 Note that it is possible to achieve exactly the same effect as the
-tt(zsh/newuser) module by adding code to tt(/etc/zshenv).  The module
+tt(zsh/newuser) module by adding code to tt(zshenv()).  The module
 exists simply to allow the shell to make arrangements for new users without
 the need for intervention by package maintainers and system administrators.