X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Fenv;h=30483a0178dea80120bc2c6c6ee1a9dcfdf4d8dc;hb=8e71f6b905ec7ef2105d59a949d784a64ce9a574;hp=e5554e3dca3af1de5b5ae8ddd38d5bb959ea154b;hpb=ae9b1f3d4fe45783c93439647753c1273e0a44b2;p=config%2Fdotfiles.git diff --git a/zsh/env b/zsh/env index e5554e3..30483a0 100644 --- a/zsh/env +++ b/zsh/env @@ -24,6 +24,11 @@ source_config ~/.shell/env # Make sure elements in PATH are unique. typeset -U path PATH +# Use $TMPDIR/zsh as directory for temporary Zsh files to prevent symlink +# attacks - only helps if $TMPDIR points to a safe directory (which should be +# true with the settings in shell/env). +TMPPREFIX="$TMPDIR/zsh" + source_config ~/.zsh/env.local