Skip to content

Commit

Permalink
fix: s/SHOW_UPSTREAM/SHOW_UPSTREAM_NAME/
Browse files Browse the repository at this point in the history
  • Loading branch information
telemachus committed Dec 18, 2023
1 parent b8162e8 commit c8bd857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-prompt.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function _zsh_git_prompt_git_status() {
print THEME_SEPARATOR;
# Section two: upstream
if (SHOW_UPSTREAM != "" && length(upstream) > 0) {
if (SHOW_UPSTREAM_NAME != "" && length(upstream) > 0) {
gsub("%", "%%", upstream);
print upstream;
print THEME_SEPARATOR;
Expand Down

0 comments on commit c8bd857

Please sign in to comment.