1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 01:56:22 +08:00

[themes/josh] Use $(current_branch) in prompt

This commit is contained in:
Piotr Solnica 2012-03-23 20:31:13 +01:00
parent 1120f97305
commit ce6a21c3b3

View File

@ -31,7 +31,7 @@ function josh_prompt {
prompt=" $prompt"
done
prompt="%{%F{green}%}$PWD$prompt%{%F{red}%}$(rvm_prompt_info || rbenv_prompt_info)%{$reset_color%} $(git_prompt_info)"
prompt="%{%F{green}%}$PWD$prompt%{%F{red}%}$(rvm_prompt_info || rbenv_prompt_info)%{$reset_color%} $(current_branch)"
echo $prompt
}