mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-12 12:21:00 +01:00
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:
committed by
GitHub
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
|
||||||
|
|||||||
Reference in New Issue
Block a user