mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
opencode: change tilde (~) to XDG_CONFIG_DIR for command and agent paths
Replace the use of `~` in the documentation for the command and agent
settings with the `XDG_CONFIG_DIR` environment variable to avoid
ambiguity about the config directory. Also switch to the
`{file}` path macro so paths render correctly in the docs and tooling.
This commit is contained in:
parent
3fbc879021
commit
99977131d3
1 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ in
|
|||
The attribute name becomes the command filename, and the value is either:
|
||||
- Inline content as a string
|
||||
- A path to a file containing the command content
|
||||
Commands are stored in ~/.config/opencode/command/ directory.
|
||||
Commands are stored in {file}`$XDG_CONFIG_HOME/.config/opencode/command/` directory.
|
||||
'';
|
||||
example = lib.literalExpression ''
|
||||
{
|
||||
|
|
@ -116,7 +116,7 @@ in
|
|||
The attribute name becomes the agent filename, and the value is either:
|
||||
- Inline content as a string
|
||||
- A path to a file containing the agent content
|
||||
Agents are stored in ~/.config/opencode/agent/ directory.
|
||||
Agents are stored in {file}`$XDG_CONFIG_HOME/.config/opencode/agent/` directory.
|
||||
'';
|
||||
example = lib.literalExpression ''
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue