Browse code

Import rvm prompt

Alan Harper authored on 19/05/2010 at 06:53:16
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,7 @@
0
+# get the name of the branch we are on
1
+function rvm_prompt_info() {
2
+  ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null) || return
3
+  echo "($ruby_version)"
4
+}
5
+
6
+