X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Fenv;h=93480281f2fe9c1ffe23ae467cc83088d7fc165c;hb=f1ed9c1507ccf6b8799062c46f852f1919c390d1;hp=ecfd002319ea3c815255ea3669b8692829acf1d3;hpb=dd87c200babeaa8006cbe7df050e1477c84a5aba;p=config%2Fdotfiles.git diff --git a/zsh/env b/zsh/env index ecfd002..9348028 100644 --- 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