From d494b5571d40fb7cb4deef6fabc7eca0c7b838b5 Mon Sep 17 00:00:00 2001 From: Lily Dayton Date: Sun, 23 Aug 2026 15:34:05 +0000 Subject: [PATCH] Note that zellij resurrection overrides default_layout default_layout "compact" is honoured, but only for a session name with no serialized layout in the cache. Sessions that predate the setting keep resurrecting the tab-bar/status-bar pair from session-layout.kdl and silently never pick it up, which reads exactly like the setting not working. Claude-Session: https://claude.ai/code/session_01YZLiHpCREWtZgAzRnrd1nx --- zellij/config.kdl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zellij/config.kdl b/zellij/config.kdl index 40ed72c..af674d5 100644 --- a/zellij/config.kdl +++ b/zellij/config.kdl @@ -1,6 +1,14 @@ // Locked by default: keystrokes go to whatever is running in the pane, not to zellij. // Ctrl-g unlocks. default_mode "locked" + +// Only applied to a session with no serialized layout in the cache. zellij restores +// ~/.cache/zellij/*/session_info//session-layout.kdl ahead of this setting, so +// `zellij attach --create ` on a name that existed before this line was added comes +// back with the old tab-bar/status-bar pair and never picks up compact. Verified by planting +// a tab-bar session-layout.kdl under a fresh name: it resurrected tab-bar, config ignored. +// To convert such a session, discard its saved state with `zellij delete-session --force +// ` and recreate it -- that drops its remembered panes and cwds. default_layout "compact" show_startup_tips false