X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Fenv;h=aaeb4939d174f5b57d15b8b28e5b4e6b67a5b58b;hb=9eb125f460f59b7c1067ae5142fc34393fd99080;hp=ecfd002319ea3c815255ea3669b8692829acf1d3;hpb=dd87c200babeaa8006cbe7df050e1477c84a5aba;p=config%2Fdotfiles.git diff --git a/zsh/env b/zsh/env index ecfd002..aaeb493 100644 --- a/zsh/env +++ b/zsh/env @@ -17,17 +17,20 @@ else } fi -source_debug "sourcing ~/.zsh/env" +source_debug ". ~/.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" +source_debug ". ~/.zsh/env (done)" # vim: ft=zsh