fix(prompt): quote ruby prompt (#12195)

This commit is contained in:
Taylor Cochran 2024-02-03 13:50:44 -08:00 committed by GitHub
parent bebd9ea59f
commit 70bf12402c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,5 +40,5 @@ ZSH_THEME_RVM_PROMPT_OPTIONS="i v g"
# use this to enable users to see their ruby version, no matter which
# version management system they use
function ruby_prompt_info() {
echo $(rvm_prompt_info || rbenv_prompt_info || chruby_prompt_info)
echo "$(rvm_prompt_info || rbenv_prompt_info || chruby_prompt_info)"
}