4 ms·
Can't post the specifics but something like this as a bash script, if you have any Qs LMK: #!/usr/bin/env bash tmux new-session -d -s sessionname tmux rename
by azemetre 4y ago
Can't post the specifics but something like this as a bash script, if you have any Qs LMK:
#!/usr/bin/env bash
tmux new-session -d -s sessionname
tmux rename-window todo
tmux send-keys -t todo "vim todo" Enter
tmux new-window -d -n dot
tmux send-keys -t dot "cd " Enter
tmux new-window -d -n windowname
tmux send-keys -t windowname "cd ~/reponame" Enter
tmux send-keys -t windowname "commands to run" Enter
tmux attach-session -d -t sessionname