summaryrefslogtreecommitdiff
path: root/themes/agnoster.zsh-theme
diff options
context:
space:
mode:
authorPedro A. Aranda GutiƩrrez <paaguti@gmail.com>2025-04-19 20:19:23 +0200
committerGitHub <noreply@github.com>2025-04-19 20:19:23 +0200
commit95a0ece8d39a7797850ef7a4cc8849b6e1158706 (patch)
treeda83fe2e966a267a16f026bb6a0dbd2be1685b21 /themes/agnoster.zsh-theme
parentafbbdd6099085fbc6a3d06cc44f90b566302bd43 (diff)
downloadzsh-95a0ece8d39a7797850ef7a4cc8849b6e1158706.tar.gz
zsh-95a0ece8d39a7797850ef7a4cc8849b6e1158706.tar.bz2
zsh-95a0ece8d39a7797850ef7a4cc8849b6e1158706.zip
fix(agnoster): respect bg / fg user envs (#12897)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
Diffstat (limited to 'themes/agnoster.zsh-theme')
-rw-r--r--themes/agnoster.zsh-theme8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
index adeffe8c2..21c9cf7d5 100644
--- a/themes/agnoster.zsh-theme
+++ b/themes/agnoster.zsh-theme
@@ -36,12 +36,12 @@ CURRENT_BG='NONE'
case ${SOLARIZED_THEME:-dark} in
light)
- CURRENT_FG='white'
- CURRENT_DEFAULT_FG='white'
+ CURRENT_FG=${CURRENT_FG:-'white'}
+ CURRENT_DEFAULT_FG=${CURRENT_DEFAULT_FG:-'white'}
;;
*)
- CURRENT_FG='black'
- CURRENT_DEFAULT_FG='default'
+ CURRENT_FG=${CURRENT_FG:-'black'}
+ CURRENT_DEFAULT_FG=${CURRENT_DEFAULT_FG:-'default'}
;;
esac