From a7f83a576ad9507a8d855bf00a93ea56723809a5 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 25 Feb 2026 21:37:44 +0100 Subject: [PATCH] Usage --- default/bash/fns/tmux | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/default/bash/fns/tmux b/default/bash/fns/tmux index 09fdb103..7f7e289d 100644 --- a/default/bash/fns/tmux +++ b/default/bash/fns/tmux @@ -1,4 +1,5 @@ # Create a tmux dev layout for dev with editor, ai, and terminal +# Usage: tmlm tml() { [[ -z $TMUX ]] && { echo "You must start tmux to use tml."; return 1; } @@ -29,6 +30,7 @@ tml() { } # Create a tml window per subdirectory in the current directory +# Usage: tmlm tmlm() { [[ -z $TMUX ]] && { echo "You must start tmux to use tmlm."; return 1; } @@ -54,9 +56,9 @@ tmlm() { done } -# Create a multi-pane layout with the same command started in each pane +# Create a multi-pane swarm layout with the same command started in each pane (great for AI) # Usage: tpl -tpl() { +tsl() { [[ -z $TMUX ]] && { echo "You must start tmux to use this function."; return 1; } local count="$1"