From 69617397f50be445475b0a9237bcedf42edb7831 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Tue, 17 Feb 2026 16:02:09 -0500 Subject: [PATCH] Allow tmux layout to work outside of tmux --- default/bash/functions | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/default/bash/functions b/default/bash/functions index ec144b8e..a485ea61 100644 --- a/default/bash/functions +++ b/default/bash/functions @@ -129,6 +129,11 @@ lip() { # Create a tmux layout for dev with editor, ai, and terminal tml() { + if [[ -z $TMUX ]]; then + tmux new-session "bash -ic 'tml $1; exec bash'" + return + fi + local current_dir="${PWD}" local editor_pane ai_pane local ai="$1"