changeset 767:35f8751c0930

it is very annoying to have ones overrides overridden; see also http://stackoverflow.com/questions/25381304/why-type-cd-on-mac-os-states-that-cd-is-a-function
author Jeff Hammel <k0scist@gmail.com>
date Thu, 28 Jan 2016 14:02:17 -0800
parents fb03f2527562
children 1b8ea3a0cc9e
files .bashrc
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.bashrc	Sat Jan 16 15:30:41 2016 -0800
+++ b/.bashrc	Thu Jan 28 14:02:17 2016 -0800
@@ -588,6 +588,10 @@
 while read line;  do echo ${line} : $(($(test "-e ${line}"\") )); done
 }
 
+### 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
+
 ### include overrides for commands
 source ~/.bash_overrides
 
@@ -597,10 +601,8 @@
 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
 
+### source site-specific BASHRC extensions
 export CISCO_BASHRC="${HOME}/cisco/bin/.bashrc"
 if [ -e "${CISCO_BASHRC}" ]
 then