mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
revert the spacing to original file
This commit is contained in:
parent
5fcc2fa4cd
commit
2d346d03e9
1 changed files with 2 additions and 2 deletions
|
|
@ -75,10 +75,9 @@ prompt_git() {
|
|||
dirty=$(parse_git_dirty)
|
||||
ref=$(git symbolic-ref HEAD 2> /dev/null) || ref="➦ $(git show-ref --head -s --abbrev |head -n1 2> /dev/null)"
|
||||
if [[ -n $dirty ]]; then
|
||||
prompt_segment yellow black
|
||||
prompt_segment yellow black
|
||||
else
|
||||
prompt_segment green black
|
||||
|
||||
fi
|
||||
|
||||
if [[ -e "${repo_path}/BISECT_LOG" ]]; then
|
||||
|
|
@ -88,6 +87,7 @@ prompt_git() {
|
|||
elif [[ -e "${repo_path}/rebase" || -e "${repo_path}/rebase-apply" || -e "${repo_path}/rebase-merge" || -e "${repo_path}/../.dotest" ]]; then
|
||||
mode=" >R>"
|
||||
fi
|
||||
|
||||
setopt promptsubst
|
||||
autoload -Uz vcs_info
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue