grmlzshrc.t2t: Add a note about disabling global config files
authorFrank Terbeck <ft@grml.org>
Wed, 9 Mar 2011 10:41:28 +0000 (11:41 +0100)
committerFrank Terbeck <ft@grml.org>
Thu, 21 Jul 2011 19:42:21 +0000 (21:42 +0200)
doc/grmlzshrc.t2t

index 0d1bec4..0f83c7b 100644 (file)
@@ -28,6 +28,18 @@ root user (**EUID** == 0) only a subset of features is loaded by default. This
 behaviour can be altered by setting the **GRML_ALWAYS_LOAD_ALL** STARTUP
 VARIABLE (see below).
 
+Users may want to keep an up-to-date version of the setup (possibly from the
+git-sources) in //~/.zshrc//. If that happens on a system where the global
+zshrc is also a //grmlzshrc// (but possibly an older one), you can inhibit
+loading the global version by doing:
+\
+```
+echo setopt no_global_rcs >> ~/.zshenv
+```
+
+Note, that this will disable //ANY// global files, except for the global
+zshenv file.
+
 = STARTUP VARIABLES =
 Some of the behaviour of //grmlzshrc// can be altered by setting certain shell
 variables. These may be set temporarily when starting zsh like this: