mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
remove wrapping parens, allowing easier reuse in the prompt
This commit is contained in:
parent
a738ca9b64
commit
172e0ccdc0
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)"
|
echo "$ruby_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue