]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/env
zsh/rc: Don't display + in prompt when running as subshell.
[config/dotfiles.git] / zsh / env
diff --git a/zsh/env b/zsh/env
index ecfd002319ea3c815255ea3669b8692829acf1d3..cff3f197bff73de256b7d294a7484410c48c146a 100644 (file)
--- a/zsh/env
+++ b/zsh/env
@@ -19,12 +19,15 @@ 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
 
-# Load rc file for current OS.
-source_config ~/.zsh os env $(uname) nolocal
 # Load env file for current hostname (first part before a dot) or env.local.
 source_config ~/.zsh host env $host