Skip to content

Windows config paths & themes #2428

Answered by keith-hall
simsrw73 asked this question in Q&A
Discussion options

You must be logged in to vote

It looks like bat is using a crate called dirs_next to get config directories:

#[cfg(not(target_os = "macos"))]
let config_dir_op = dirs_next::config_dir();

which doesn't seem to respect any of the XDG env vars on Windows. I see that bat special cases MacOS, so maybe something similar can be done on Windows too, but the tricky part will presumably be to do so without breaking anyone's current setup.


As to why it says

No themes were found in 'C:\Users\simsrw73\AppData\Roaming\bat\themes', using the default set

I have no idea, if there are .tmTheme files there when running bat cache --build because it looks l…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@simsrw73
Comment options

Answer selected by simsrw73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants