tasks.json 731 B

1234567891011121314151617181920
  1. // Static tasks. Bound to keys in keymap.json.
  2. [
  3. {
  4. // Attach (or create) the project's tmux session — same parent_current naming
  5. // as the `tt` shell alias. Opens as a CENTER tab, not the bottom dock.
  6. // allow_concurrent_runs:false → one canonical, reusable tmux terminal.
  7. "label": "agent terminal",
  8. "command": "tmux new-session -A -s \"$(basename \"$(dirname \"$ZED_WORKTREE_ROOT\")\")_$(basename \"$ZED_WORKTREE_ROOT\")\" \"$SHELL -ic cc\"",
  9. "cwd": "$ZED_WORKTREE_ROOT",
  10. "reveal_target": "center",
  11. "use_new_terminal": false,
  12. "allow_concurrent_runs": false,
  13. "reveal": "always",
  14. "hide": "on_success",
  15. "shell": "system",
  16. "env": {
  17. "EDITOR": "zed --wait",
  18. },
  19. },
  20. ]