From 2b0056091a0cb38bd3bfc5a6ea7b17fff7a024f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Logerais=20=28Numericable=20-=20Ing=C3=A9nierie?= =?UTF-8?q?=20Syst=C3=A8me=29?= Date: Wed, 6 Nov 2013 01:28:58 +0100 Subject: [PATCH] Add profile.d/rvm --- profile.d/rvm | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 profile.d/rvm diff --git a/profile.d/rvm b/profile.d/rvm new file mode 100644 index 0000000..f32eef5 --- /dev/null +++ b/profile.d/rvm @@ -0,0 +1,7 @@ +#!/bin/bash + +# Load RVM into a shell session *as a function* +[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" + +# Add RVM to PATH for scripting +PATH=$PATH:$HOME/.rvm/bin