Due to the existence of many Homebrew installed apps, each with the possibility of their own config file, the HOME dir can get very crowded, very quickly.
The solution that I've seen taken has been to check a set of standard locations for the app's config file, such as is indicated in the following example for WailBrew, from first/most-specific to last/default, stopping at the first one located.
$WAILBREW_CONFIG_FILE # set to "whatever.json" / (this one could even be left off)
$WAILBREW_CONFIG_DIR/config.json # I've seen these as the most common
$XDG_CONFIG_HOME/wailbrew/config.json # I've seen these as the most common
.config/wailbrew/config.json
.wailbrew/config.json
.wailbrew.json
I looked for reference to a configuration variable, but couldn't find one. Please point me to a link, if I've overlooked it.
Thanks. 🙏🏻
Due to the existence of many Homebrew installed apps, each with the possibility of their own config file, the HOME dir can get very crowded, very quickly.
The solution that I've seen taken has been to check a set of standard locations for the app's config file, such as is indicated in the following example for WailBrew, from first/most-specific to last/default, stopping at the first one located.
$WAILBREW_CONFIG_FILE # set to "whatever.json" / (this one could even be left off)
$WAILBREW_CONFIG_DIR/config.json # I've seen these as the most common
$XDG_CONFIG_HOME/wailbrew/config.json # I've seen these as the most common
.config/wailbrew/config.json
.wailbrew/config.json
.wailbrew.json
I looked for reference to a configuration variable, but couldn't find one. Please point me to a link, if I've overlooked it.
Thanks. 🙏🏻