Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Import rvm prompt

  • Loading branch information...
commit ba9c78fc9b83752e970f7a1bc1b16a582672bd58 1 parent f02c956
@aussiegeek aussiegeek authored robbyrussell committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/rvm.zsh
View
7 lib/rvm.zsh
@@ -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.
Something went wrong with that request. Please try again.