]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/env.local
Display todo list every hour.
[config/dotfiles.git] / zsh / env.local
index a3cdc6a31774369a22dc3fb81884eb651229fcd2..91759a74862b60ea07cbf38a2fafd0513c510f6e 100644 (file)
@@ -6,9 +6,7 @@
 MYUNIX=~/Documents/unix
 
 # Add my bin/ directory, macports bin/ and sbin/ and the X11 bin/ directory to
-# the default PATH.
-typeset -U path
+# the default PATH. -g is necessary as the file is loaded by source_config(),
+# otherwise the path wouldn't be changed outside the function.
+typeset -g -U path
 path=($MYUNIX/bin /opt/local/bin /opt/local/sbin $path /usr/X11R6/bin)
-
-# Necessary for xterm to find man pages through PATH.
-unset MANPATH