From: Simon Ruderich Date: Fri, 11 Feb 2011 20:15:15 +0000 (+0100) Subject: Merge remote-tracking branch 'uni/master' X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=67988bdbeecddce25b3c64ec8f23fdc4d8d9fb66;hp=-c;p=config%2Fdotfiles.git Merge remote-tracking branch 'uni/master' --- 67988bdbeecddce25b3c64ec8f23fdc4d8d9fb66 diff --combined shell/env index 0739edf,c1a950e..b7b1e13 --- a/shell/env +++ b/shell/env @@@ -28,19 -28,21 +28,25 @@@ export EDITO 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 export TMP TEMP TMPDIR fi +# Change rlwrap's home directory to prevent cluttering ~. +RLWRAP_HOME=~/.shell/rlwrap +export RLWRAP_HOME + # Set colors for GNU ls (and zsh completions). # See `dircolors --print-database` for possible colors. LS_COLORS='no=00'