Commit 28265812 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

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).
parent 2f39c68a
...@@ -21,7 +21,7 @@ function git_prompt_info() { ...@@ -21,7 +21,7 @@ function git_prompt_info() {
ref=$(__git_prompt_git symbolic-ref --short HEAD 2> /dev/null) \ ref=$(__git_prompt_git symbolic-ref --short HEAD 2> /dev/null) \
|| ref=$(__git_prompt_git rev-parse --short HEAD 2> /dev/null) \ || ref=$(__git_prompt_git rev-parse --short HEAD 2> /dev/null) \
|| return 0 || return 0
# Use global ZSH_THEME_GIT_SHOW_UPSTREAM=1 for including upstream remote info # Use global ZSH_THEME_GIT_SHOW_UPSTREAM=1 for including upstream remote info
local upstream local upstream
if (( ${+ZSH_THEME_GIT_SHOW_UPSTREAM} )); then if (( ${+ZSH_THEME_GIT_SHOW_UPSTREAM} )); then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment