LANG=en_US.UTF-8
export LANG
-# Add ~/bin and ~/.bin to PATH if available.
+# Add ~/bin and ~/.bin and ~/.shell/bin to PATH if available.
+if [ -d ~/.shell/bin ]; then
+ PATH=~/.shell/bin:$PATH
+fi
if [ -d ~/bin ]; then
PATH=~/bin:$PATH
fi
PAGER=less
export PAGER
-# Use ~/tmp as directory for temporary files if available to reduce security
+# Use ~/.tmp as directory for temporary files if available to reduce security
# problems on multi-user systems.
-if [ -O ~/tmp -a -d ~/tmp ]; then
+if [ -O ~/.tmp -a -d ~/.tmp ]; then
+ TMP=~/.tmp
+ TEMP=$TMP
+ TMPDIR=$TMP
+ export TMP TEMP TMPDIR
+# Also try ~/tmp as fallback.
+elif [ -O ~/tmp -a -d ~/tmp ]; then
TMP=~/tmp
TEMP=$TMP
TMPDIR=$TMP