Skip to content

Commit

Permalink
fix(modified staged): correct spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
olets committed Apr 21, 2020
1 parent 416633d commit 9edf465
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions porcelain-prompt.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,9 @@ function gitstatus_prompt_update() {
if (( added_staged_count || PORCELAIN_PROMPT_SHOW_INACTIVE )); then
p+="%${PORCELAIN_PROMPT_COLOR_INACTIVE}F"
(( added_staged_count )) && p+="%${PORCELAIN_PROMPT_COLOR_ACTIVE_STAGED}F$added_staged_count" && dirty=1
p+="$PORCELAIN_PROMPT_SYMBOL_MODIFIED_STAGED"
p+="$PORCELAIN_PROMPT_SYMBOL_MODIFIED_STAGED "
fi

w=' '
if (( $dirty )); then
w+="%${PORCELAIN_PROMPT_COLOR_WHERE}F"
else
Expand Down

0 comments on commit 9edf465

Please sign in to comment.