Allow environment variables to be used as a color #5731
sigint-run
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
That's why we have |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Similar to my previous post, I suggest being able to use an environment variable as a color.
So I can go from here:
to here:
with the var name matching a color:
Of course, the example above only shows the proposition for foreground, but it could work for background as well.
It could also work for color overrides:
Again, the use case is for the same configuration to by dynamic depending on the system where oh-my-posh is used, to theme each systems based on their env variables.
Thanks for reading!
Beta Was this translation helpful? Give feedback.
All reactions