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'
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue