Merge pull request #97 from robertjung/fix_mbriggs_theme

Add new ruby_version_prompt to mbriggs theme
pull/98/head
Travis Swicegood 2012-01-27 20:30:31 -08:00
commit c65876342e
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ function git_short_sha() {
function prompt() {
local return_status=""
local rvm_ruby="${red}$(rvm-prompt i)${reset_color}"
local ruby="${red}$(ruby_version_prompt)${reset_color}"
local user_host="${green}\h${reset_color}"
local current_path="\w"
local n_commands="\!"
@ -28,7 +28,7 @@ function prompt() {
local close=')'
local prompt_char=' \$ '
PS1="\n${n_commands} ${user_host} ${prompt_symbol} ${rvm_ruby} ${open}${current_path}${git_branch}${close}${return_status}\n${prompt_char}"
PS1="\n${n_commands} ${user_host} ${prompt_symbol} ${ruby} ${open}${current_path}${git_branch}${close}${return_status}\n${prompt_char}"
}
PROMPT_COMMAND=prompt