mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +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
|
||||
}
|
||||
|
||||
if [[ ! -z "${ZSH_GIT_PROMPT}" ]]; then
|
||||
if [[ ! -z "${USE_ZSH_GIT_PROMPT}" ]]; then
|
||||
# just use zsh-git-prompt with our segment coloring
|
||||
prompt_segment yellow red
|
||||
echo -n ${PL_BRANCH_CHAR} ${ZSH_GIT_PROMPT}
|
||||
echo -n ${PL_BRANCH_CHAR} $(git_super_status)
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue