-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.zellij.kdl
More file actions
28 lines (28 loc) · 833 Bytes
/
.zellij.kdl
File metadata and controls
28 lines (28 loc) · 833 Bytes
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
layout {
pane {
split_direction "vertical"
pane name="openapi-viewer" borderless=true {
command "${DEV_SHELL}"
args "-ic" "nvm use > /dev/null 2>&1 && bash"
}
pane name="deps" {
command "${DEV_SHELL}"
args "-ic" "nvm use > /dev/null 2>&1 && npm run dev-deps && watch -n 4 \"docker compose ps --all --format 'table {{.Name}}\t{{.Status}}'\""
}
}
pane {
split_direction "vertical"
pane name="ui" {
command "${DEV_SHELL}"
args "-ic" "nvm use > /dev/null 2>&1 && npm -w ui run dev"
}
pane name="api" {
command "${DEV_SHELL}"
args "-ic" "nvm use > /dev/null 2>&1 && npm -w api run dev"
}
}
pane size=1 borderless=true {
command "bash"
args "-ic" "echo -n -e \"Dev server available at \\e[1;96mhttp://localhost:5600\\033[0m\""
}
}