9 Commits
Author SHA1 Message Date
Florian Schroedl 86379ecfd5 docs: pin the install snippet to the full sha 2026-10-01 10:46:12 +02:00
Florian Schroedl 49fb1c2223 chore: add MIT license 2026-10-01 10:29:44 +02:00
Florian Schroedl 6ef67ed565 fix: send export commands into panes for env var injection
tmux set-environment only affects future windows/panes, not shells
already running. Send individual 'export K=V' via send-keys into each
pane before the window command, so env vars are available immediately.
Keep set-environment as well for any future panes.
2026-06-09 21:00:17 +02:00
Florian Schroedl 837ccc194c feat: add env-file/env support and parse-env-file utility
- :env-file key on config loads a .env file and sets vars via tmux set-environment
- :env key accepts a map of extra vars (merged on top of env-file)
- parse-env-file is public for use in bb.edn tasks
- Environment is set on the session so all panes inherit it
2026-06-09 20:49:21 +02:00
Florian Schroedl 80f4da9ec9 feat: add env helpers for typed env var reading with fallbacks 2026-04-28 16:34:56 +02:00
Florian Schroedl 5281f2c975 docs: add git sha to install snippet 2026-04-28 16:27:01 +02:00
Florian Schroedl 1039fd23aa docs: rewrite README with install, usage examples, and sample output 2026-04-28 16:26:46 +02:00
Florian Schroedl a0223ec663 chore: remove make-tasks, direct calls are cleaner 2026-04-28 16:19:37 +02:00
Florian Schroedl aff67729b2 feat: initial tmux-dev library
Babashka library for managing tmux dev sessions with a simple config map.

API: start, stop, restart, attach, logs, status
- Session duplicate protection (start is no-op if already running)
- Per-window log capture via tmux capture-pane
- Configurable working directory and post-start print lines
2026-04-28 16:18:51 +02:00