From c7818c109f4f616b9f4533c8ee3a713f956c38af Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Sat, 13 Dec 2025 00:51:11 +0000 Subject: [PATCH] Added start-lab-session command to shell config --- dot_config/nushell/utils.nu | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dot_config/nushell/utils.nu b/dot_config/nushell/utils.nu index 20d82d6..4bd981a 100644 --- a/dot_config/nushell/utils.nu +++ b/dot_config/nushell/utils.nu @@ -48,3 +48,11 @@ export def 'install-default-plugins' [] { nu_plugin_query ] | each { cargo install $in --locked } | ignore } + +export def 'start-lab-session' [ + --session-name (-s): string = "lab" +] { + let task_id = pueue add -p ghostty -e zellij attach --index 0 -c $session_name + zellij attach --index 0 -c $session_name + pueue kill $task_id +}