Description
Config file opencode.json stored in OPENCODE_CONFIG_DIR does not work when doing this:
export OPENCODE_CONFIG_DIR=~/data/opencode
Config file opencode.json stored in OPENCODE_CONFIG_DIR works only when exporting both:
export OPENCODE_CONFIG_DIR=~/data/opencode
export OPENCODE_CONFIG=~/data/opencode/opencode.json
Ideally OPENCODE_CONFIG_DIR env var should be enough to load custom config from a custom config directory.
OpenCode version
v1.0.68
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Ubuntu Linux
Terminal
No response
Description
Config file opencode.json stored in
OPENCODE_CONFIG_DIRdoes not work when doing this:Config file opencode.json stored in
OPENCODE_CONFIG_DIRworks only when exporting both:Ideally
OPENCODE_CONFIG_DIRenv var should be enough to load custom config from a custom config directory.OpenCode version
v1.0.68
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Ubuntu Linux
Terminal
No response