summaryrefslogtreecommitdiff
path: root/dev-tmux
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tmux')
-rwxr-xr-xdev-tmux10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-tmux b/dev-tmux
new file mode 100755
index 0000000..e0ac529
--- /dev/null
+++ b/dev-tmux
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+SESSION_NAME=${1:- 󰊠 }
+
+tmux new-session -d -s "$SESSION_NAME" -n vi
+tmux new-window -t "$SESSION_NAME" -n build
+tmux new-window -t "$SESSION_NAME" -n git
+tmux new-window -t "$SESSION_NAME" -n nix
+tmux select-window -t "$SESSION_NAME":vi
+tmux attach-session -t "$SESSION_NAME"