diff options
| author | oribi <oribarilan@gmail.com> | 2026-01-19 23:54:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-19 13:54:50 -0800 |
| commit | a01a135fe185559ff9dc84dd70d6e9bb57d92bdf (patch) | |
| tree | cd69a5a00092889a40670f005deddee070c0bd33 /docs/README.opencode.md | |
| parent | ac471e69c2a672f50e491a45f6ff56b104d0e562 (diff) | |
fix: respect OPENCODE_CONFIG_DIR for personal skills lookup (#297)
* fix: respect OPENCODE_CONFIG_DIR for personal skills lookup
The plugin was hardcoded to look for personal skills in ~/.config/opencode/skills,
ignoring users who set OPENCODE_CONFIG_DIR to a custom path (e.g., for dotfiles management).
Now uses OPENCODE_CONFIG_DIR if set, falling back to the default path.
* fix: update help text to use dynamic paths
Use configDir and personalSkillsDir variables in help text so paths
are accurate when OPENCODE_CONFIG_DIR is set.
* fix: normalize OPENCODE_CONFIG_DIR before use
Handle edge cases where the env var might be:
- Empty or whitespace-only
- Using ~ for home directory (common in .env files)
- A relative path
Now trims, expands ~, and resolves to absolute path.
Diffstat (limited to 'docs/README.opencode.md')
0 files changed, 0 insertions, 0 deletions
