@@ -26,13 +26,6 @@ pathrm() {
2626 PATH=" $( echo $PATH | sed -e " s;\(^\|:\)${1%/ } \(:\|\$ \);\1\2;g" -e ' s;^:\|:$;;g' -e ' s;::;:;g' ) "
2727}
2828
29- # RVM
30- pathadd " $HOME /.rvm/bin" # Add RVM to PATH for scripting
31- [[ -s " $HOME /.rvm/scripts/rvm" ]] && source " $HOME /.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
32-
33- # node modules path
34- pathadd " ./node_modules/.bin"
35-
3629# Configuration for the command line tool "hh" (history searcher to replace ctrl-r, brew install hh)
3730export HH_CONFIG=hicolor,rawhistory,favorites # get more colors
3831shopt -s histappend # append new history items to .bash_history
@@ -907,6 +900,12 @@ PS1="\n\[$COLOR_YELLOW\]\u\[\$(error_test)\]@\[$COLOR_GREEN\]\w\$(${dvcs_functio
907900export GR_HOME=${HOME} /dev
908901export GR_USERNAME=andrew.ray
909902
903+ function fixrvm() {
904+ source ~ /.rvm/scripts/rvm
905+ rvm reload
906+ rvm list
907+ }
908+
910909function gr_locked_gpg() {
911910 if pgrep -f " gpg --use-agent --no-tty --quiet -o" > /dev/null
912911 then
@@ -916,12 +915,6 @@ function gr_locked_gpg() {
916915 fi
917916}
918917
919- function fixrvm() {
920- source ~ /.rvm/scripts/rvm
921- rvm reload
922- rvm list
923- }
924-
925918sleep_rand () {
926919 rand=${RANDOM: 0: 1} # 0 - 9 https://stackoverflow.com/questions/1194882/how-to-generate-random-number-in-bash
927920 sleep " 0.${rand} "
@@ -1130,3 +1123,10 @@ if [ -d "$TRACKER_FLOW_PATH" ]; then
11301123 . " $TRACKER_FLOW_PATH /tracker_completion.bash"
11311124fi
11321125
1126+ # RVM
1127+ pathadd " $HOME /.rvm/bin" # Add RVM to PATH for scripting
1128+ [[ -s " $HOME /.rvm/scripts/rvm" ]] && source " $HOME /.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
1129+
1130+ # node modules path
1131+ pathadd " ./node_modules/.bin"
1132+
0 commit comments