Skip to content

Commit

Permalink
Moved rvm and rbenv into the .bash_profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jun 4, 2012
1 parent d3cd280 commit ce9efd3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .bash_profile
Expand Up @@ -6,3 +6,12 @@ if [ -f ~/.bashrc ]; then
fi

# User specific environment and startup programs

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

# Load rbenv into a shell session
if [[ -d "$HOME/.rbenv/bin" ]]; then
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
fi
9 changes: 0 additions & 9 deletions .bashrc
Expand Up @@ -47,12 +47,3 @@ alias torrent="$BIT_TORRENT_CLIENT"
alias phpi="$RUBY_SHELL"
alias rbi="$RUBY_SHELL"
alias js="$JS_SHELL"

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

# Load rbenv into a shell session
if [[ -d "$HOME/.rbenv/bin" ]]; then
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
fi

0 comments on commit ce9efd3

Please sign in to comment.