mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
8 lines
197 B
Bash
8 lines
197 B
Bash
# Get the name of the current branch.
|
|
function rvm_prompt_info() {
|
|
local ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null)
|
|
if [[ -n "$ruby_version" ]]; then
|
|
echo "($ruby_version)"
|
|
fi
|
|
}
|
|
|