diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-05-26 22:36:58 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-05-26 22:36:58 +0300 |
| commit | f3400383f1ad689610e28c7502456c032245bdce (patch) | |
| tree | a2db7f681d0b9a0cc6296b4e61395b9c118ebfbe /scripts | |
| parent | 3d0af5a12e49dfe883958e1e9e50d6771b57a342 (diff) | |
Changed eko tmux session while evulating mprocs, might revert
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/tmux-session-setup | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/scripts/tmux-session-setup b/scripts/tmux-session-setup index c3ae24a..e7b8207 100755 --- a/scripts/tmux-session-setup +++ b/scripts/tmux-session-setup @@ -28,16 +28,19 @@ elif [ "$sess" = "eko" ]; then tmux send-keys -t $sess:editor.1 "vim" C-m tmux new-window -t $sess -n app -c $dir - tmux split-window -t $sess:app.1 -v -c $dir - tmux send-keys -t $sess:app.2 "watchexec --exts=go './reload.sh'" C-m - tmux resize-pane -Z -t $sess:app.1 + tmux send-keys -t $sess:app "mprocs" C-m - tmux new-window -t $sess -n logs -c $dir - tmux split-window -t $sess:logs.1 -h -c $dir - tmux split-window -t $sess:logs.2 -v -c $dir - tmux send-keys -t $sess:logs.1 "tail -f messages.log" C-m - tmux send-keys -t $sess:logs.2 "tail -f client.log" C-m - tmux send-keys -t $sess:logs.3 "go run ./cmd/server --stdout" C-m + # tmux new-window -t $sess -n app -c $dir + # tmux split-window -t $sess:app.1 -v -c $dir + # tmux send-keys -t $sess:app.2 "watchexec --exts=go './reload.sh'" C-m + # tmux resize-pane -Z -t $sess:app.1 + # + # tmux new-window -t $sess -n logs -c $dir + # tmux split-window -t $sess:logs.1 -h -c $dir + # tmux split-window -t $sess:logs.2 -v -c $dir + # tmux send-keys -t $sess:logs.1 "tail -f messages.log" C-m + # tmux send-keys -t $sess:logs.2 "tail -f client.log" C-m + # tmux send-keys -t $sess:logs.3 "go run ./cmd/server --stdout" C-m tmux select-window -t $sess:editor elif [ "$sess" = "server" ]; then |
