mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 01:04:06 +08:00
15 lines
396 B
Bash
15 lines
396 B
Bash
#!/bin/sh
|
|
|
|
create() {
|
|
tmux new-session -d -s miss -n shy
|
|
tmux split-window -p 30 -t miss:shy.1
|
|
tmux split-window -h -t miss:shy.2
|
|
tmux send-keys -t miss:shy.3 "tail -f bin/boot.log" Enter
|
|
tmux send-keys -t miss:shy.2 "bin/ice.sh start serve shy" Enter
|
|
tmux send-keys -t miss:shy.1 "vim" Enter
|
|
}
|
|
|
|
tmux has-session -t miss &>/dev/null || create
|
|
tmux attach-session -t miss
|
|
|