1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 07:20:40 +01:00

fix(agnoster): print white text over black (#12525)

This commit is contained in:
Adrien Plazas
2025-02-14 10:18:01 +01:00
committed by GitHub
parent 7d32e7fc3f
commit 92da3108b5

View File

@@ -48,7 +48,7 @@ esac
: ${AGNOSTER_DIR_BG:=blue}
# user@host
: ${AGNOSTER_CONTEXT_FG:=default}
: ${AGNOSTER_CONTEXT_FG:=white}
: ${AGNOSTER_CONTEXT_BG:=black}
# Git related
@@ -85,6 +85,7 @@ esac
: ${AGNOSTER_STATUS_RETVAL_FG:=red}
: ${AGNOSTER_STATUS_ROOT_FG:=yellow}
: ${AGNOSTER_STATUS_JOB_FG:=cyan}
: ${AGNOSTER_STATUS_FG:=white}
: ${AGNOSTER_STATUS_BG:=black}
## Non-Color settings - set to 'true' to enable
@@ -327,7 +328,7 @@ prompt_status() {
[[ $UID -eq 0 ]] && symbols+="%{%F{$AGNOSTER_STATUS_ROOT_FG}%}⚡"
[[ $(jobs -l | wc -l) -gt 0 ]] && symbols+="%{%F{$AGNOSTER_STATUS_JOB_FG}%}⚙"
[[ -n "$symbols" ]] && prompt_segment "$AGNOSTER_STATUS_BG" default "$symbols"
[[ -n "$symbols" ]] && prompt_segment "$AGNOSTER_STATUS_BG" "$AGNOSTER_STATUS_FG" "$symbols"
}
#AWS Profile: