fix(cli): ghostty-tmux skips pj task sessions; confirm ctrl-c before stopping bg tasks

This commit is contained in:
Prad Nukala committed 2026-10-14 18:15:42 -04:00
1 parent 954e1e1ae0
commit 04ade162b4
5 files changed
+20 -16

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ Ghostty reads both `config` and `config.ghostty`. `config` holds all settings; `
Every Ghostty window gets its own tmux session; no two windows mirror the same one. `~/.local/bin/ghostty-tmux` (source `dot_local/bin/executable_ghostty-tmux`) runs for each new window:
1. If a detached session exists (left by a closed window, or restored by continuum after a reboot), it attaches to the oldest one.
1. If a detached session exists (left by a closed window, or restored by continuum after a reboot), it attaches to the oldest one, by session id. Background task sessions from `pj-palette` (`@pj_task` set, named `<session>:<task>`) are never reclaimed.
2. Otherwise it starts a new session.
Before starting tmux, the script puts mise's shims on `PATH`. A server started from a desktop-launched Ghostty therefore finds the tools tmux plugins shell out to: bun for the palette, fzf, and zoxide.