File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,14 @@ Use `docker compose exec` (not `docker attach`). Each `exec` spawns an independe
4343
4444# # Shell Function (no compose.yml needed)
4545
46- Add to your `~/.zshrc` to run from any project directory :
46+ With [sheldon](https://github.com/rossmacarthur/sheldon), add to `~/.config/sheldon/plugins.toml` :
47+
48+ ` ` ` toml
49+ [plugins.agent-stack]
50+ github = "Syati/agent-stack"
51+ ` ` `
52+
53+ Or add the function directly to your `~/.zshrc` :
4754
4855` ` ` bash
4956agent() {
Original file line number Diff line number Diff line change 1+ agent () {
2+ docker run -it \
3+ -v $( pwd) :/workspace \
4+ -v /var/run/docker.sock:/var/run/docker.sock \
5+ -v ${HOME} /.gitconfig:/home/agent/.gitconfig:ro \
6+ -v agent-claude-home:/home/agent/.claude \
7+ -v agent-codex-home:/home/agent/.codex \
8+ -v agent-mise-data:/home/agent/.local/share/mise \
9+ --env-file ${HOME} /.agent-stack.env \
10+ --add-host host.docker.internal:host-gateway \
11+ ghcr.io/syati/agent-stack zsh
12+ }
You can’t perform that action at this time.
0 commit comments