Permalink
Browse files

Import rvm prompt

  • Loading branch information...
1 parent f02c956 commit ba9c78fc9b83752e970f7a1bc1b16a582672bd58 @aussiegeek aussiegeek committed with robbyrussell May 19, 2010
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/rvm.zsh
View
@@ -0,0 +1,7 @@
+# get the name of the branch we are on
+function rvm_prompt_info() {
+ ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null) || return
+ echo "($ruby_version)"
+}
+
+

0 comments on commit ba9c78f

Please sign in to comment.