This make sure it is always sourced when appropriate - along with other
.local files and *before* the ~/.zshrc.local file.
+grml-etc-core (0.3.69) UNRELEASED; urgency=low
+
+ * zshrc: properly source the global zshrc.local via zrclocal(), to
+ make sure it is always sourced when appropriate. Reported by
+ harnir, Thanks!
+
+ -- Frank Terbeck <ft@grml.org> Sun, 17 May 2009 12:05:47 +0200
+
grml-etc-core (0.3.68) unstable; urgency=low
[ Frank Terbeck ]
# this allows us to stay in sync with grml's zshrc and put own
# modifications in ~/.zshrc.local
zrclocal() {
+ xsource "/etc/zsh/zshrc.local"
xsource "${HOME}/.zshrc.local"
return 0
}
for color in BLUE RED GREEN CYAN YELLOW MAGENTA WHITE ; unset $color
# }}}
-# source another config file if present {{{
-xsource "/etc/zsh/zshrc.local"
-# }}}
-
# "persistent history" {{{
# just write important commands you always need to ~/.important_commands
if [[ -r ~/.important_commands ]] ; then