Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
4fc08061
Commit
4fc08061
authored
Dec 02, 2013
by
Robby Russell
Browse files
Merge pull request #1030 from solnic/master
[themes/josh] Use $(current_branch) in prompt
parents
7a6caf67
ce6a21c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/josh.zsh-theme
View file @
4fc08061
...
@@ -31,7 +31,7 @@ function josh_prompt {
...
@@ -31,7 +31,7 @@ function josh_prompt {
prompt=" $prompt"
prompt=" $prompt"
done
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
echo $prompt
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment