Compare commits

...

2 Commits

Author SHA1 Message Date
Pedro A. Aranda Gutiérrez ab896e0df4
Merge 0047214255 into 33d4db7fee 2025-01-29 16:59:31 +03:00
Pedro A. Aranda Gutiérrez 0047214255
Allow user to define CURRENT_FG for agnoster.zsh-theme
Some terminal themes make CURRENT_FG black/white selection sub-optimal. Allow user to define CURRENT_FG for best legibility in the directory part.
2025-01-09 18:15:12 +01:00
1 changed files with 3 additions and 2 deletions

View File

@ -34,9 +34,10 @@
CURRENT_BG='NONE'
# Set CURRENT_FG unless already set in .zshenv
case ${SOLARIZED_THEME:-dark} in
light) CURRENT_FG='white';;
*) CURRENT_FG='black';;
light) CURRENT_FG=${CURRENT_FG:-white};;
*) CURRENT_FG=${CURRENT_FG:-black};;
esac
# Special Powerline characters