changeset 765:b8ac41eda8ee

what it should be maybe
author Jeff Hammel <k0scist@gmail.com>
date Fri, 15 Jan 2016 21:34:50 -0800
parents 6af50cab823f
children fb03f2527562
files .bash_profile .bashrc
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/.bash_profile	Fri Jan 15 09:39:31 2016 -0800
+++ b/.bash_profile	Fri Jan 15 21:34:50 2016 -0800
@@ -1,5 +1,3 @@
-# /etc/skel/.bash_profile
-
 # This file is sourced by bash for login shells.  The following line
 # runs your .bashrc and is recommended by the bash info pages.
 [[ -f ~/.bashrc ]] && . ~/.bashrc
--- a/.bashrc	Fri Jan 15 09:39:31 2016 -0800
+++ b/.bashrc	Fri Jan 15 21:34:50 2016 -0800
@@ -597,6 +597,10 @@
 deactivate
 fi
 
+### ruby version manager
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
+export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
+
 export CISCO_BASHRC="${HOME}/cisco/bin/.bashrc"
 if [ -e "${CISCO_BASHRC}" ]
 then
@@ -612,5 +616,3 @@
     fi
 }
 regeneratefluxmenu
-
-export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting