Merge pull request #4 from natemccurdy/add_rbenv_prompt
Add a prompt for rbenv ruby versionpull/22/head
commit
482b4b2041
|
@ -227,6 +227,13 @@ prompt_rvm() {
|
|||
fi
|
||||
}
|
||||
|
||||
# rbenv information
|
||||
prompt_rbenv() {
|
||||
if [[ -n "$RBENV_VERSION" ]]; then
|
||||
$1_prompt_segment red black "$RBENV_VERSION"
|
||||
fi
|
||||
}
|
||||
|
||||
# Main prompt
|
||||
build_left_prompt() {
|
||||
if (( ${#POWERLEVEL9K_LEFT_PROMPT_ELEMENTS} == 0 )); then
|
||||
|
|
Loading…
Reference in New Issue