mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
fix(cli): ghostty-tmux skips pj task sessions; confirm ctrl-c before stopping bg tasks
This commit is contained in:
1 parent
954e1e1ae0
commit
04ade162b4
5 files changed
+20
-16
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user