ba9c78fc9b83752e970f7a1bc1b16a582672bd58
- Author
- Alan Harper <alan@aussiegeek.net>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Diff
1diff --git a/lib/rvm.zsh b/lib/rvm.zsh
2new file mode 100644
3index 0000000000000000000000000000000000000000..597be1b33b2076c267b202527909f6e896c099bd
4--- /dev/null
5+++ b/lib/rvm.zsh
6@@ -0,0 +1,7 @@
7+# get the name of the branch we are on
8+function rvm_prompt_info() {
9+ ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null) || return
10+ echo "($ruby_version)"
11+}
12+
13+