mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-13 16:47:21 +02:00
fix: quote % characters in ruby prompt info functions
This commit is contained in:
@ -73,7 +73,7 @@ function current_ruby() {
|
||||
}
|
||||
|
||||
function chruby_prompt_info() {
|
||||
echo "$(current_ruby)"
|
||||
echo "${$(current_ruby):gs/%/%%}"
|
||||
}
|
||||
|
||||
# Complete chruby command with installed rubies
|
||||
|
Reference in New Issue
Block a user