mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
fix: quote % characters in ruby prompt info functions
This commit is contained in:
parent
59cb231692
commit
9a3d853481
4 changed files with 6 additions and 5 deletions
|
|
@ -73,7 +73,7 @@ function current_ruby() {
|
|||
}
|
||||
|
||||
function chruby_prompt_info() {
|
||||
echo "$(current_ruby)"
|
||||
echo "${$(current_ruby):gs/%/%%}"
|
||||
}
|
||||
|
||||
# Complete chruby command with installed rubies
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue