Reduce this to generic functions

This commit is contained in:
David Heinemeier Hansson
2026-02-25 21:32:51 +01:00
parent 1785fb6185
commit 0bb3973a8c
+1 -21
View File
@@ -1,4 +1,4 @@
# Create a tmux layout for dev with editor, ai, and terminal
# Create a tmux dev layout for dev with editor, ai, and terminal
tml() {
[[ -z $TMUX ]] && { echo "You must start tmux to use tml."; return 1; }
@@ -54,26 +54,6 @@ tmlm() {
done
}
# Create a dev layout using tmux with editor, opencode, and terminal
nic() {
tml c
}
# Create a dev layout using tmux with editor, claude, and terminal
nicx() {
tml cx
}
# Create tml windows for each subdirectory using opencode
nicm() {
tmlm c
}
# Create tml windows for each subdirectory using claude
nicxm() {
tmlm cx
}
# Create a multi-pane layout with the same command started in each pane
# Usage: tpl <pane_count> <command>
tpl() {