Permalink
Browse files

Merge pull request #97 from robertjung/fix_mbriggs_theme

Add new ruby_version_prompt to mbriggs theme
  • Loading branch information...
2 parents b988a3e + 54ffcc0 commit c65876342e76e0b82c78c7c1daee5cbed32bbb1f @tswicegood tswicegood committed Jan 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 themes/mbriggs/mbriggs.theme.bash
@@ -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

0 comments on commit c658763

Please sign in to comment.