mirror of https://github.com/ohmyzsh/ohmyzsh.git
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.
This commit is contained in:
parent
5c17bcd21f
commit
0047214255
|
@ -34,9 +34,10 @@
|
||||||
|
|
||||||
CURRENT_BG='NONE'
|
CURRENT_BG='NONE'
|
||||||
|
|
||||||
|
# Set CURRENT_FG unless already set in .zshenv
|
||||||
case ${SOLARIZED_THEME:-dark} in
|
case ${SOLARIZED_THEME:-dark} in
|
||||||
light) CURRENT_FG='white';;
|
light) CURRENT_FG=${CURRENT_FG:-white};;
|
||||||
*) CURRENT_FG='black';;
|
*) CURRENT_FG=${CURRENT_FG:-black};;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Special Powerline characters
|
# Special Powerline characters
|
||||||
|
|
Loading…
Reference in New Issue