-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Describe the bug you encountered:
Not sure if this is a bug or a feature request, but I'll go with bug since there's at least some documentation.
CHANGELOG.md states:
CHANGELOG.md-754-## Changes
CHANGELOG.md-755-
CHANGELOG.md:756:- New themes in `$BAT_CONFIG_DIR/themes` are now loaded *in addition* to
CHANGELOG.md-757- the default themes (they may also override), see #172
This value $BAT_CONFIG_DIR
is not respected in directories.rs
, only $XDG_CONFIG_HOME
and $HOME
are.
There are no references to BAT_CONFIG_DIR
anywhere in the source except the changelog. It looks like it used to be documented, but was never implemented. Documentation was removed in d3d795f and other commits.
It would be nice to see support for BAT_CONFIG_DIR
in directories.rs
. This makes it easier for tools to ship custom bat themes / configs / caches, without overriding $XDG_CONFIG_HOME
.
What did you expect to happen instead?
I should be able to specify $BAT_CONFIG_DIR
.
How did you install bat
?
brew install bat
bat version and environment
$ bat --version
bat 0.18.1