Reduce this to generic functions
This commit is contained in:
+1
-21
@@ -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() {
|
tml() {
|
||||||
[[ -z $TMUX ]] && { echo "You must start tmux to use tml."; return 1; }
|
[[ -z $TMUX ]] && { echo "You must start tmux to use tml."; return 1; }
|
||||||
|
|
||||||
@@ -54,26 +54,6 @@ tmlm() {
|
|||||||
done
|
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
|
# Create a multi-pane layout with the same command started in each pane
|
||||||
# Usage: tpl <pane_count> <command>
|
# Usage: tpl <pane_count> <command>
|
||||||
tpl() {
|
tpl() {
|
||||||
|
|||||||
Reference in New Issue
Block a user