mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
add zsh and kubectl prompts to agnoster prompt
This commit is contained in:
parent
4e11082a6f
commit
63d8b0079f
1 changed files with 2 additions and 2 deletions
|
|
@ -108,10 +108,10 @@ prompt_git() {
|
||||||
PL_BRANCH_CHAR=$'\u2693' # anchor
|
PL_BRANCH_CHAR=$'\u2693' # anchor
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ ! -z "${ZSH_GIT_PROMPT}" ]]; then
|
if [[ ! -z "${USE_ZSH_GIT_PROMPT}" ]]; then
|
||||||
# just use zsh-git-prompt with our segment coloring
|
# just use zsh-git-prompt with our segment coloring
|
||||||
prompt_segment yellow red
|
prompt_segment yellow red
|
||||||
echo -n ${PL_BRANCH_CHAR} ${ZSH_GIT_PROMPT}
|
echo -n ${PL_BRANCH_CHAR} $(git_super_status)
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue