Permalink
Browse files

rvm

  • Loading branch information...
1 parent b6dbc42 commit d296983fdbd5a0a036ce6e08fbf999c6d06f7be4 @msadouni committed Mar 14, 2012
Showing with 4 additions and 0 deletions.
  1. +2 −0 .bash_profile
  2. +2 −0 .bashrc
View
2 .bash_profile
@@ -1 +1,3 @@
. ~/.bashrc
+
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
View
2 .bashrc
@@ -41,3 +41,5 @@ complete -o default -o nospace -F _git g
# ----------------------------------------------------------------------
PS1='[\[\033[0;31m\]\w\[\033[0;32m\]$(__git_ps1 " (%s)") ($(~/.rvm/bin/rvm-prompt))\[\033[0;30m\]] '
+
+PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

0 comments on commit d296983

Please sign in to comment.