mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 01:14:22 +08:00
fix: quote % characters in ruby prompt info functions
This commit is contained in:
4 files changed
+6
-5
No files matched your search
@@ -45,4 +45,5 @@ function rbfu-rubies() {
|
||||
|
||||
# Public: Create rvm_prompt_info command for themes compatibility, unless
|
||||
# it has already been defined.
|
||||
[ ! -x rvm_prompt_info ] && function rvm_prompt_info() { echo "${RBFU_RUBY_VERSION:=system}" }
|
||||
(( ${+functions[rvm_prompt_info]} )) || \
|
||||
function rvm_prompt_info() { echo "${${RBFU_RUBY_VERSION:=system}:gs/%/%%}" }
|
||||
Reference in new issue
Block a user