Skip to content

Commit

Permalink
Add PURE_GIT_BRANCH
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedelgabri committed May 11, 2018
1 parent df441c4 commit de04c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pure.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ prompt_pure_preprompt_render() {
# Add git branch and dirty status info.
typeset -gA prompt_pure_vcs_info
if [[ -n $prompt_pure_vcs_info[branch] ]]; then
preprompt_parts+=("%F{$git_color}"'${prompt_pure_vcs_info[branch]}%F{red}${prompt_pure_git_dirty}%f')
preprompt_parts+=("%F{$git_color}"'${PURE_GIT_BRANCH:-""}${prompt_pure_vcs_info[branch]}%F{red}${prompt_pure_git_dirty}%f')
fi
# Git pull/push arrows.
if [[ -n $prompt_pure_git_arrows ]]; then
Expand Down

0 comments on commit de04c1d

Please sign in to comment.