Skip to content

Commit b3846cf

Browse files
authored
Merge pull request #179 from shelltime/docs/convert-config-examples-to-yaml
docs(config): convert all configuration examples from TOML to YAML
2 parents b43fae6 + 46db14c commit b3846cf

2 files changed

Lines changed: 159 additions & 150 deletions

File tree

README.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,29 @@ shelltime daemon install # Optional: background sync for <8ms latency
3232

3333
## Configuration
3434

35-
Config file: `~/.shelltime/config.toml`
35+
Config file: `~/.shelltime/config.yaml`
3636

37-
```toml
38-
token = "your-token"
39-
flushCount = 10 # Commands before sync
40-
gcTime = 14 # Days to retain data
41-
dataMasking = true # Mask sensitive data
42-
encrypted = false # E2E encryption (requires daemon)
37+
```yaml
38+
token: "your-token"
39+
flushCount: 10 # Commands before sync
40+
gcTime: 14 # Days to retain data
41+
dataMasking: true # Mask sensitive data
42+
encrypted: false # E2E encryption (requires daemon)
4343

4444
# Exclude patterns (regex)
45-
exclude = [".*password.*", "^export .*"]
45+
exclude:
46+
- ".*password.*"
47+
- "^export .*"
4648

4749
# AI permissions
48-
[ai.agent]
49-
view = false # Read-only commands
50-
edit = false # File modifications
51-
delete = false # Destructive commands
50+
ai:
51+
agent:
52+
view: false # Read-only commands
53+
edit: false # File modifications
54+
delete: false # Destructive commands
5255
```
5356
54-
Local overrides: `~/.shelltime/config.local.toml`
57+
Local overrides: `~/.shelltime/config.local.yaml`
5558

5659
**[Full Configuration Guide](docs/CONFIG.md)** - Detailed documentation for all options
5760

0 commit comments

Comments
 (0)