From e0158d11936962e498e22cfe9ca1b33980cbba62 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Wed, 22 Apr 2026 22:27:34 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20README=20documentation?= =?UTF-8?q?=20for=20tool=20installation=20instructions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6452479..712712d 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # opencode-custom-tool-demo > https://opencode.ai/docs/zh-cn/custom-tools/ -> - 本地定义:将工具文件放在项目的 .opencode/tools/ 目录中。 -> - 全局定义:将工具文件放在 ~/.config/opencode/tools/ 中。 +> - 本地定义:将工具文件放在项目的 `.opencode/tools/` 目录中。 +> - 全局定义:将工具文件放在 `~/.config/opencode/tools/` 中。 Install tool: ```shell mkdir -p .opencode/tools/ -ln -s demo.ts .opencode/tools/demo.ts +cp demo.ts .opencode/tools/ ``` \ No newline at end of file