summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zsh/.zprofile4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile
index c2b1d33..79b19fe 100644
--- a/zsh/.zprofile
+++ b/zsh/.zprofile
@@ -3,6 +3,7 @@ export EDITOR="emacsclient -a emacs"
PATH="$HOME/usr/bin:$PATH"
PATH="/usr/local/heroku/bin:$PATH"
+PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export PATH
INFOPATH="$HOME/documents/info:$INFOPATH"
@@ -18,3 +19,6 @@ export DBUS_SESSION_BUS_ADDRESS
if [ -z "$SSH_AGENT_PID" ]; then
eval `ssh-agent`
fi
+
+# Load RVM into a shell session as a func
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"