fix: quote % characters in ruby prompt info functions

This commit is contained in:
Marc Cornellà
2021-12-13 17:43:32 +01:00
parent 59cb231692
commit 9a3d853481
4 changed files with 6 additions and 5 deletions

View File

@ -73,7 +73,7 @@ function current_ruby() {
}
function chruby_prompt_info() {
echo "$(current_ruby)"
echo "${$(current_ruby):gs/%/%%}"
}
# Complete chruby command with installed rubies