mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-21 13:20:07 +00:00
chore!: notify breaking change in git_prompt_info
BREAKING CHANGE: the git config option to skip running `git_prompt_info` has changed from `oh-my-zsh.hide-status` to `oh-my-zsh.hide-info` (#9188).
This commit is contained in:
parent
2f39c68ab0
commit
28265812f8
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ function git_prompt_info() {
|
|||
ref=$(__git_prompt_git symbolic-ref --short HEAD 2> /dev/null) \
|
||||
|| ref=$(__git_prompt_git rev-parse --short HEAD 2> /dev/null) \
|
||||
|| return 0
|
||||
|
||||
|
||||
# Use global ZSH_THEME_GIT_SHOW_UPSTREAM=1 for including upstream remote info
|
||||
local upstream
|
||||
if (( ${+ZSH_THEME_GIT_SHOW_UPSTREAM} )); then
|
||||
|
|
Loading…
Reference in a new issue