Open
Conversation
When launching a Claude session, automatically create a second Zellij tab with a dev shell. If a justfile with a 'setup' recipe exists, runs 'just setup' in that tab before dropping into a shell. Uses Zellij KDL layout files to define both tabs (claude and dev) at session creation time. The claude tab remains focused by default. Co-Authored-By: piotrek & opus <noreply@anthropic.com>
Add --default-shell /bin/zsh to Zellij launch commands so that manually-created panes (via C-space c) open with a regular shell instead of inheriting from the layout's command panes. Co-Authored-By: piotrek & opus <noreply@anthropic.com>
…tup-dev-and-teardown
The --default-shell CLI flag is not available in older Zellij versions. Setting SHELL=/bin/zsh before exec achieves the same result - new panes created via keyboard shortcuts will use zsh instead of inheriting from layout command panes. Co-Authored-By: piotrek & opus <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
setuprecipe exists, runsjust setupin that tab before dropping into a shellChanges
create_dev_script()function that generates a script to runjust setupif availablecreate_session_layout()function that generates Zellij KDL layout files with two tabscreate_launcher_script()to use--layoutflag instead ofSHELL=approachTest plan
setuprecipejust setupran in dev tab