Fix tmux: add -- separator for shell commands, kill stale sessions

This commit is contained in:
2026-08-09 20:33:07 +02:00
parent e36ac3568f
commit 4c0650c43b
2 changed files with 8 additions and 6 deletions
+4 -3
View File
@@ -89,11 +89,12 @@ not cover: **redeploy** and **secrets diff**.
Example startup command (generic placeholders):
```
tmux kill-session -t kctl \; \
tmux new-session -d -s kctl \
"kctl-tui panel --context=$CTX_A --ns=$NS --team=$TEAM" \; \
-- "kctl-tui panel --context=$CTX_A --ns=$NS --team=$TEAM" \; \
set-option -t kctl remain-on-exit on \; \
split-window -v -t kctl:0.0 "k9s --context $CTX_A -n $NS" \; \
split-window -v -t kctl:0.1 "k9s --context $CTX_B -n $NS" \; \
split-window -v -t kctl:0.0 -- "k9s --context $CTX_A -n $NS" \; \
split-window -v -t kctl:0.1 -- "k9s --context $CTX_B -n $NS" \; \
select-layout -t kctl even-vertical \; \
select-pane -t kctl:0.0 \; \
attach -t kctl