mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
feat: add zed install target
This commit is contained in:
parent
fb6d4a7104
commit
2371a3cf05
17 changed files with 361 additions and 37 deletions
41
.zed/settings.json
Normal file
41
.zed/settings.json
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"agent": {
|
||||
"tool_permissions": {
|
||||
"default": "confirm",
|
||||
"tools": {
|
||||
"terminal": {
|
||||
"default": "confirm",
|
||||
"always_deny": [
|
||||
{
|
||||
"pattern": "rm\\s+-rf\\s+(/|~)"
|
||||
},
|
||||
{
|
||||
"pattern": "(^|\\s)(cat|sed|grep|rg)\\s+.*\\.(env|pem|key)(\\s|$)"
|
||||
}
|
||||
],
|
||||
"always_confirm": [
|
||||
{
|
||||
"pattern": "sudo\\s"
|
||||
},
|
||||
{
|
||||
"pattern": "(npm|pnpm|yarn|bun)\\s+(install|add|dlx|exec|x)\\b"
|
||||
},
|
||||
{
|
||||
"pattern": "gh\\s+(auth|api|repo|release|pr|issue)\\b"
|
||||
}
|
||||
]
|
||||
},
|
||||
"edit_file": {
|
||||
"always_deny": [
|
||||
{
|
||||
"pattern": "\\.env"
|
||||
},
|
||||
{
|
||||
"pattern": "\\.(pem|key|p12|pfx)$"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue