]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/env
shell: Only use ~/tmp if it's owned by the current user.
[config/dotfiles.git] / zsh / env
diff --git a/zsh/env b/zsh/env
index a413b57c0506a31b1124cb17c8233e4cd2e8da3b..93480281f2fe9c1ffe23ae467cc83088d7fc165c 100644 (file)
--- a/zsh/env
+++ b/zsh/env
@@ -19,6 +19,11 @@ fi
 
 source_debug "sourcing ~/.zsh/env"
 
+
+# Make sure elements in PATH are unique.
+typeset -U path PATH
+
+
 # Load global env file for current hostname (first part before a dot) or
 # global env.local.
 source_config ~/.shell "" env $host
@@ -29,3 +34,5 @@ source_config ~/.zsh os env $(uname) nolocal
 source_config ~/.zsh host env $host
 
 source_debug "finished sourcing ~/.zsh/env"
+
+# vim: ft=zsh