dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README

commit e673ce4f2dffe72481332b917ccaf80f5393250e
parent 0d23d743ebb0a366b2e7d77d82bd56a4fc851907
Author: Pablo Cárdenas <pablo@pcardenasb.com>
Date:   Sat,  2 May 2026 21:24:58 -0500

.local/bin: added ausenco session script

Diffstat:
A.local/bin/ausenco | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/.local/bin/ausenco b/.local/bin/ausenco @@ -0,0 +1,16 @@ +cd ~ +if ! tmux has-session -t ausenco 2>/dev/null; then + tmux new-session -s ausenco -n uvicorn -d + tmux send-keys -t ausenco:0.0 'cd /srv/http/ausenco/asgi' C-m + tmux send-keys -t ausenco:0.0 '. venv/bin/activate' C-m + tmux send-keys -t ausenco:0.0 'uvicorn app:app --uds ../uvicorn.sock' C-m + + tmux new-window -t ausenco:1 -n asgi -d + tmux send-keys -t ausenco:1.0 'cd /srv/http/ausenco/asgi' C-m + tmux send-keys -t ausenco:1.0 '. venv/bin/activate' C-m + + tmux new-window -t ausenco:2 -n bin/ausenco -d + tmux send-keys -t ausenco:2.0 'vim ~/.local/bin/ausenco' C-m +fi + +tmux attach -t ausenco