From 7228bd4fa737dde94d5ab7db8e40545208cbb771 Mon Sep 17 00:00:00 2001 From: cds-amal Date: Wed, 11 Jun 2025 19:20:01 -0400 Subject: [PATCH] Add Ghostty documentation for session-management tutorial/notes --- content/tutorials/session-management.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/tutorials/session-management.md b/content/tutorials/session-management.md index c0f4cde4..92009428 100644 --- a/content/tutorials/session-management.md +++ b/content/tutorials/session-management.md @@ -42,6 +42,14 @@ program = "zellij" args = ["-l", "welcome"] ``` +### In Ghostty +Locate your [Ghostty configuration file](https://ghostty.org/docs/config#file-location) and add the following: +```toml +command = "zellij -l welcome" +``` +This sets zellij with the `welcome` layout as the default shell. +[See the Ghostty documentation for the difference between command and initial-command](https://ghostty.org/docs/config/reference#initial-command) for a more nuanced workflow. + ### In gnome-terminal Follow [these instructions](https://help.gnome.org/users/gnome-terminal/stable/pref-custom-command.html.en) and pass the command `zellij -l welcome`.