Skip to content

Commit c82fe73

Browse files
committed
docs: update README with module source and example for tmux
1 parent 8c0e7b3 commit c82fe73

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

registry/anomaly/modules/tmux/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ This module provisions and configures [tmux](https://github.com/tmux/tmux) with
1212
for a Coder agent. It automatically installs tmux, the Tmux Plugin Manager (TPM), and a set of useful plugins, and sets
1313
up a default or custom tmux configuration with session save/restore capabilities.
1414

15+
```tf
16+
module "tmux" {
17+
source = "registry.coder.com/anomaly/aider/coder"
18+
version = "1.0.0"
19+
agent_id = coder_agent.example.id
20+
}
21+
```
22+
1523
## Features
1624

1725
- Installs tmux if not already present
@@ -30,7 +38,7 @@ up a default or custom tmux configuration with session save/restore capabilities
3038

3139
```tf
3240
module "tmux" {
33-
source = "path/to/this/module"
41+
source = "registry.coder.com/anomaly/aider/coder"
3442
agent_id = coder_agent.example.id
3543
tmux_config = "" # Optional: custom tmux.conf content
3644
save_interval = 1 # Optional: save interval in minutes
@@ -68,7 +76,7 @@ This module can provision multiple tmux sessions, each as a separate app in the
6876

6977
```tf
7078
module "tmux" {
71-
source = "./registry/anomaly/modules/tmux"
79+
source = "registry.coder.com/anomaly/aider/coder"
7280
agent_id = var.agent_id
7381
sessions = ["default", "dev", "anomaly"]
7482
tmux_config = <<-EOT

0 commit comments

Comments
 (0)