diff .bashrc @ 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 35f8751c0930
line wrap: on
line diff
--- 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