diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-02 13:07:21 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-02 13:07:21 -0400 |
commit | 3e8b163f22382806d2f9f8bfcb680189ab47ecbc (patch) | |
tree | 24f0a0794998359028e9b740b32fc953a7d6b039 /.bashrc | |
parent | 2f7a1f33ab6fc5017cd58e9db61e430dffc73846 (diff) |
Only set TMPDIR="$HOME/tmp" if $HOME/tmp exists
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -97,8 +97,11 @@ if [ -f /etc/bash_completion ]; then fi if [ "$TERM" != dumb ]; then - export TMPDIR="$HOME/tmp" + if [ -d "$HOME/tmp" ]; then + export TMPDIR="$HOME/tmp" + fi daemon emacs --daemon daemon sysfiles daemon maildirproc fi +[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* |