mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-20 15:31:11 +00:00
94ab5e0ec8
Conflicts: oh-my-zsh.sh
9 lines
197 B
Bash
9 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
|
|
}
|
|
|