From aa7889378b93d383de4394f6d203865db78d890d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 2 Nov 2014 15:10:40 +0100 Subject: Add RVM variables --- zsh/.zprofile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zsh/.zprofile') 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" -- cgit v1.2.3-54-g00ecf