-
I've tried to make bat switch theme depends on current system style (light or dark), like
And it works ok for provided argument, but works while it defined in bat/config file:
Is there a way to allow inline shell script in bat configs? |
Beta Was this translation helpful? Give feedback.
Answered by
tony-sol
May 12, 2024
Replies: 1 comment 1 reply
-
This is currently not possible unfortunately. But it's an interesting use case. The best alternative I can think of for now would be to have a shell PROMPT which re-evaluates the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, i did something similar, like
Works pretty well