From 63d8b0079fb9d51f3c0d00d913203bd0e609829d Mon Sep 17 00:00:00 2001 From: Ghasem Shirazi Date: Wed, 14 Apr 2021 14:17:52 -0700 Subject: [PATCH] add zsh and kubectl prompts to agnoster prompt --- themes/agnoster.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 3240232dd..3dcdd7f58 100755 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -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