X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Fenv;h=cff3f197bff73de256b7d294a7484410c48c146a;hb=e0867f4072a7937a24304a61d2a0f70093a88c19;hp=a413b57c0506a31b1124cb17c8233e4cd2e8da3b;hpb=ba926cda844bdd42b39d50fb926068f7a3dc4018;p=config%2Fdotfiles.git diff --git a/zsh/env b/zsh/env index a413b57..cff3f19 100644 --- a/zsh/env +++ b/zsh/env @@ -19,13 +19,18 @@ 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 source_debug "finished sourcing ~/.zsh/env" + +# vim: ft=zsh