-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathexample.it2rc.yaml
More file actions
60 lines (50 loc) · 1.45 KB
/
example.it2rc.yaml
File metadata and controls
60 lines (50 loc) · 1.45 KB
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
# Example iTerm2 CLI configuration file
# Copy this to ~/.it2rc.yaml and customize as needed
# Custom profiles for development environments
profiles:
# Development environment with split panes
dev:
- command: cd ~/project
- split: vertical
- pane1: npm run dev
- pane2: npm test --watch
# Multi-server SSH setup
servers:
- split: 2x2
- pane1: ssh server1
- pane2: ssh server2
- pane3: ssh server3
- pane4: ssh server4
# Database monitoring setup
db-monitor:
- command: cd ~/project
- split: horizontal
- pane1: mysql -u root -p
- pane2: tail -f /var/log/mysql/error.log
# Git workflow
git-flow:
- split: vertical
- pane1: git status
- split: horizontal
- pane2: git log --oneline --graph --all
- pane3: watch -n 5 git status
# Command aliases for quick actions
aliases:
# Deployment commands
deploy: session run "deploy.sh" --all
deploy-prod: session run "deploy.sh production" --all
# Log monitoring
logs: session run "tail -f /var/log/app.log"
errors: monitor output -f -p "ERROR|WARN"
# Development shortcuts
dev-setup: load dev
server-setup: load servers
# Quick actions
reload: session run "source ~/.zshrc" --all
update: session run "git pull && npm install"
# Broadcast shortcuts
bc-on: app broadcast on
bc-off: app broadcast off
# Window management
fullscreen: window fullscreen toggle
new-dev: window new --profile "Development"