-
Notifications
You must be signed in to change notification settings - Fork 1
/
tmux-work
executable file
·49 lines (42 loc) · 2.54 KB
/
tmux-work
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
#!/usr/bin/env bash
#######################################
## Using multiple windows ##
#######################################
# tmux new-session -ds "Appshell Service" -c ~/Development/library-appshell-service -n "() => {}"
# tmux new-window -d -t "Appshell Service": -n "Tests" -c ~/Development/library-appshell-service
# tmux new-window -d -t "Appshell Service": -n "Git" -c ~/Development/library-appshell-service
#
# tmux new-session -ds "Client Profile Tabs" -c ~/Development/client-profile-tabs -n "() => {}"
# tmux new-window -d -t "Client Profile Tabs": -n "Tests" -c ~/Development/client-profile-tabs
# tmux new-window -d -t "Client Profile Tabs": -n "Git" -c ~/Development/client-profile-tabs
#
# tmux new-session -ds "Common API" -c ~/Development/library-appshell-apis -n "() => {}"
# tmux new-window -d -t "Common API": -n "Tests" -c ~/Development/library-appshell-apis
# tmux new-window -d -t "Common API": -n "Git" -c ~/Development/library-appshell-apis
#
# tmux new-session -ds "Component Library" -c ~/Development/library-components -n "() => {}"
# tmux new-window -d -t "Component Library": -n "Tests" -c ~/Development/library-components
# tmux new-window -d -t "Component Library": -n "Git" -c ~/Development/library-components
#
# tmux new-session -ds "Dotfiles" -c ~/.dotfiles -n "() => {}"
#
# tmux new-session -ds "Nextjs Framework" -c ~/Development/next-foundation -n "() => {}"
# tmux new-window -d -t "Nextjs Framework": -n "Tests" -c ~/Development/next-foundation
# tmux new-window -d -t "Nextjs Framework": -n "Git" -c ~/Development/next-foundation
#
# tmux new-session -ds "React Core" -c ~/Development/react-core -n "() => {}"
# tmux new-window -d -t "React Core": -n "Tests" -c ~/Development/react-core
# tmux new-window -d -t "React Core": -n "Git" -c ~/Development/react-core
#######################################
## Using new way of thinking ##
#######################################
tmux new-session -ds "Dotfiles" -c ~/.dotfiles -n "() => {}"
# tmux split-window -h -d -t "Dotfiles" '/usr/bin/env sh -c "lazygit"'
tmux new-session -ds "Component Library" -c ~/Development/library-components -n "() => {}"
tmux split-window -h -d -t "Component Library" -c ~/Development/library-components
tmux select-pane -l -t "Component Library"
tmux new-session -ds "Nextjs Framework" -c ~/Development/next-foundation -n "() => {}"
tmux split-window -h -d -t "Nextjs Framework" -c ~/Development/next-foundation -n "() => {}"
tmux select-pane -l -t "Nextjs Framework"
# tmux split-window -d -t "Nextjs Framework" '/usr/bin/env sh -c "lazygit"'
tm