1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00

add miss.sh

This commit is contained in:
shaoying 2020-04-16 16:52:33 +08:00
parent b46f2f35c4
commit 6dbe365609

14
etc/miss.sh Normal file
View File

@ -0,0 +1,14 @@
#!/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