Skip to content

Commit

Permalink
added rbenv support; cleaned up bashrc so that it has an order - basi…
Browse files Browse the repository at this point in the history
…c > os > user > and so on.
  • Loading branch information
betarelease committed Jul 21, 2014
1 parent 5ae6737 commit 35c93f2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 29 deletions.
1 change: 1 addition & 0 deletions bash_boost/bash_rbenv.sh
@@ -0,0 +1 @@
test -s rbenv && eval "$(rbenv init -)"
5 changes: 2 additions & 3 deletions the_files/bash_profile
Expand Up @@ -3,8 +3,7 @@ LOGFILE=~/bash_boost.log
cat > $LOGFILE <<< "bash_profile...\c"

cat >> $LOGFILE <<< "bashrc...\c"
source ~/.bashrc

test -s "$HOME/.rvm/scripts/rvm" && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
source ~/.bashrc

test -s rbenv && eval "$(rbenv init -)"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
46 changes: 20 additions & 26 deletions the_files/bashrc
Expand Up @@ -5,44 +5,38 @@ fi
LOGFILE=~/bash_boost.log
cat > $LOGFILE <<< "--- Attempting to boost your bash..."

cat >> $LOGFILE <<< "version control boost..."
source ~/.bash_boost/bash_vcs.sh

cat >> $LOGFILE <<< "custom prompt..."
source ~/.bash_boost/profile_prompt.sh

cat >> $LOGFILE <<< "rvm boost..."
source ~/.bash_boost/bash_rvm.sh

cat >> $LOGFILE <<< "building cool prompt..."
source ~/.bash_boost/build_prompt.sh
cat >> $LOGFILE <<< "history boost..."
source ~/.history

cat >> $LOGFILE <<< "aliases..."
cat >> $LOGFILE <<< "aliases..."
source ~/.aliases

cat >> $LOGFILE <<< "cd command boost..."
cat >> $LOGFILE <<< "cd command boost..."
source ~/.bash_boost/cdargs-bash.sh
source ~/.bash_boost/cdargs.sh

cat >> $LOGFILE <<< "history boost..."
source ~/.history
cat >> $LOGFILE <<< "version control boost..."
source ~/.bash_boost/bash_vcs.sh

cat >> $LOGFILE <<< "terminal_colors..."
source ~/.bash_boost/terminal_colors
cat >> $LOGFILE <<< "custom prompt..."
source ~/.bash_boost/profile_prompt.sh

cat >> $LOGFILE <<< "environment..."
source ~/.os_specific/loader
cat >> $LOGFILE <<< "rvm boost..."
source ~/.bash_boost/bash_rvm.sh

cat >> $LOGFILE <<< "emacs_server..."
source ~/.bash_boost/emacs_server
cat >> $LOGFILE <<< "rbenv boost..."
source ~/.bash_boost/bash_rbenv.sh

cat >> $LOGFILE <<< "paths..."
source ~/.os_specific/paths
cat >> $LOGFILE <<< "building cool prompt..."
source ~/.bash_boost/build_prompt.sh

cat >> $LOGFILE <<< "terminal_colors..."
source ~/.bash_boost/terminal_colors

cat >> $LOGFILE <<< "java functions..."
source ~/.bash_boost/java_functions.sh
cat >> $LOGFILE <<< "environment..."
source ~/.os_specific/loader

cat >> $LOGFILE <<< "user specific boost..."
cat >> $LOGFILE <<< "user specific boost..."
source ~/.user_specific/loader

### Added by the Heroku Toolbelt
Expand Down

0 comments on commit 35c93f2

Please sign in to comment.