summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index c4e4c64..b299ed2 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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*