Last active
July 5, 2026 13:30
-
-
Save Bryan2333/1ba75160a6f98c55304c519e917fd0a4 to your computer and use it in GitHub Desktop.
opencode配置
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| // vim: set shiftwidth=2 tabstop=2: | |
| { | |
| "$schema": "https://opencode.ai/config.json", | |
| "shell": "C:/msys64/usr/bin/bash.exe", | |
| "watcher": { | |
| "ignore": [ | |
| "node_modules/**", | |
| "**/node_modules/**", | |
| "dist/**", | |
| "**/dist/**", | |
| "build/**", | |
| "**/build/**", | |
| "coverage/**", | |
| ".next/**", | |
| "target/**", | |
| ".venv/**", | |
| "__pycache__/**", | |
| ".git/**" | |
| ] | |
| }, | |
| "permission": { | |
| "edit": "ask", | |
| "external_directory": "ask", | |
| "doom_loop": "ask", | |
| "bash": { | |
| "*": "ask", | |
| "wc*": "allow", | |
| "rg*": "allow", | |
| "cat*": "allow", | |
| "xxd*": "allow", | |
| "head*": "allow", | |
| "tail*": "allow", | |
| "grep*": "allow", | |
| "sed -n*": "allow", | |
| "git status*": "allow", | |
| "git diff*": "allow", | |
| "git log*": "allow", | |
| "git show*": "allow", | |
| "git rev-parse*": "allow", | |
| "git ls-files*": "allow", | |
| "git branch --show-current*": "allow" | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // vim: set shiftwidth=2 tabstop=2: | |
| { | |
| "$schema": "https://opencode.ai/tui.json", | |
| "theme": "one-dark" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment