This repository has been archived by the owner on Jan 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtmux-portefaix.sh
executable file
·60 lines (55 loc) · 2.08 KB
/
tmux-portefaix.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
DIR=$1
SESSION="portefaix"
echo $#
if [ $# -eq 0 ]; then
echo "Usage: `basename $0` <directory>"
exit 0
fi
function tmux_portefaix {
cd $DIR
tmux start-server
tmux new-session -s $SESSION -n Lam -d
tmux new-window -n "dot"
tmux send-keys -t $SESSION "cd $DIR/dotfiles/" C-m
tmux new-window -n "Hestia"
tmux send-keys -t $SESSION "cd $DIR/hestia/" C-m
tmux new-window -n "Hyperion-k8s"
tmux send-keys -t $SESSION "cd $DIR/hyperion-k8s" C-m
tmux new-window -n "Hyperion-nomad"
tmux send-keys -t $SESSION "cd $DIR/hyperion-nomad" C-m
tmux new-window -n "Hyperion-swarm"
tmux send-keys -t $SESSION "cd $DIR/hyperion-swarm" C-m
tmux new-window -n "Hyperion-rancher"
tmux send-keys -t $SESSION "cd $DIR/hyperion-rancher" C-m
tmux new-window -n "Hyperion-origin"
tmux send-keys -t $SESSION "cd $DIR/hyperion-origin" C-m
tmux new-window -n "Cerbere"
tmux send-keys -t $SESSION "cd $DIR/cerbere" C-m
tmux new-window -n "Warhol"
tmux send-keys -t $SESSION "cd $DIR/warhol" C-m
tmux new-window -n "Cirrus"
tmux send-keys -t $SESSION "cd $DIR/cirrus" C-m
tmux new-window -n "Hyperkube"
tmux send-keys -t $SESSION "cd $DIR/hyperkube" C-m
tmux new-window -n "Base"
tmux send-keys -t $SESSION "cd $DIR/docker-base" C-m
tmux new-window -n "Elasticsearch"
tmux send-keys -t $SESSION "cd $DIR/docker-elasticsearch" C-m
tmux new-window -n "Kibana"
tmux send-keys -t $SESSION "cd $DIR/docker-kibana" C-m
tmux new-window -n "Grafana"
tmux send-keys -t $SESSION "cd $DIR/docker-grafana" C-m
tmux new-window -n "InfluxDB"
tmux send-keys -t $SESSION "cd $DIR/docker-influxdb" C-m
tmux new-window -n "Heka"
tmux send-keys -t $SESSION "cd $DIR/docker-heka" C-m
tmux new-window -n "Packetbeat"
tmux send-keys -t $SESSION "cd $DIR/docker-packetbeat" C-m
tmux new-window -n "Clair"
tmux send-keys -t $SESSION "cd $DIR/docker-clair" C-m
tmux new-window -n "Vault"
tmux send-keys -t $SESSION "cd $DIR/docker-vault" C-m
tmux attach-session -t $SESSION
}
tmux_portefaix