X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Fenv;h=e0e2a899b1d5ef184c0878bf62d0155b13f7bc96;hb=f1ed9c1507ccf6b8799062c46f852f1919c390d1;hp=3395e4beb034b84567b9182bbaa6d5608ccd5bb3;hpb=cc3d0f3f163fc9d3ec0f6496a79158686e62caab;p=config%2Fdotfiles.git diff --git a/shell/env b/shell/env index 3395e4b..e0e2a89 100644 --- a/shell/env +++ b/shell/env @@ -34,7 +34,7 @@ export PAGER # Use ~/tmp as directory for temporary files if available to reduce security # problems on multi-user systems. -if [ -d ~/tmp ]; then +if [ -O ~/tmp -a -d ~/tmp ]; then TMP=~/tmp TMPDIR=$TMP export TMP TMPDIR