From a612d71bc72b5ab904c15e33e6e9d5a9b30b9d72 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 23 Feb 2026 12:01:58 +0100 Subject: [PATCH] Ensure we're inside tmux --- default/bash/functions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default/bash/functions b/default/bash/functions index b0da3fe4..2750d084 100644 --- a/default/bash/functions +++ b/default/bash/functions @@ -130,6 +130,8 @@ lip() { # Create a tmux layout for dev with editor, ai, and terminal tml() { + [[ -z $TMUX ]] && { echo "You must start tmux to use tml."; return 1; } + local current_dir="${PWD}" local editor_pane ai_pane local ai="$1"