mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Merge a7fb668078 into 3d438617e7
This commit is contained in:
commit
cb8c9ecbe7
1 changed files with 1 additions and 3 deletions
|
|
@ -1,7 +1,5 @@
|
||||||
# get the name of the branch we are on
|
# get the name of the branch we are on
|
||||||
function rvm_prompt_info() {
|
function rvm_prompt_info() {
|
||||||
ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null) || return
|
ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null) || return
|
||||||
echo "($ruby_version)"
|
[[ ! -z $ruby_version ]] && echo "($ruby_version)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue