diff options
| author | Taylor Cochran <tcochran.dev@gmail.com> | 2024-02-03 13:50:44 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-03 22:50:44 +0100 |
| commit | 70bf12402ceb5599f209bd687d4ee9d9dbf1776a (patch) | |
| tree | 24228164613fbaabe9a85a9ab9e580a1cefd59b5 | |
| parent | bebd9ea59f6f5ed629b659dc1f230ac71b1fd1a8 (diff) | |
| download | zsh-70bf12402ceb5599f209bd687d4ee9d9dbf1776a.tar.gz zsh-70bf12402ceb5599f209bd687d4ee9d9dbf1776a.tar.bz2 zsh-70bf12402ceb5599f209bd687d4ee9d9dbf1776a.zip | |
fix(prompt): quote ruby prompt (#12195)
| -rw-r--r-- | lib/prompt_info_functions.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prompt_info_functions.zsh b/lib/prompt_info_functions.zsh index 3dc9b6d10..29aca9b48 100644 --- a/lib/prompt_info_functions.zsh +++ b/lib/prompt_info_functions.zsh @@ -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)" } |
