1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-15 18:30:08 +00:00

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 # use this to enable users to see their ruby version, no matter which
# version management system they use # version management system they use
function ruby_prompt_info() { function ruby_prompt_info() {
echo $(rvm_prompt_info || rbenv_prompt_info || chruby_prompt_info) echo "$(rvm_prompt_info || rbenv_prompt_info || chruby_prompt_info)"
} }