Tmuxinator

This commit is contained in:
2025-11-03 22:20:56 +00:00
parent 8e69b82401
commit 2080b21c47
2 changed files with 26 additions and 2 deletions

View File

@@ -89,6 +89,10 @@ alias \
notes="cd ~/Tower/Notes && nvim ." \ notes="cd ~/Tower/Notes && nvim ." \
aid="aider" aid="aider"
# Projects
alias \
src="tmuxinator start runcats"
# Dev # Dev
alias \ alias \
sail='[ -f sail ] && sh sail || sh vendor/bin/sail' \ sail='[ -f sail ] && sh sail || sh vendor/bin/sail' \
@@ -96,7 +100,9 @@ alias \
y="yarn" \ y="yarn" \
ci="composer install" \ ci="composer install" \
c="composer" \ c="composer" \
tk="go-task" tk="go-task" \
mux="tmuxinator" \
mex="tmuxinator stop-all"
# Translating # Translating
alias \ alias \
@@ -131,7 +137,7 @@ function gh() {
echo "Git First-Aid:" echo "Git First-Aid:"
echo "--------------------------------" echo "--------------------------------"
for i in {1..${#commands[@]}}; do for i in {1..${#commands[@]}}; do
echo "$i) ${commands[$i]}" echo "$i) ${commands[$i]}"
done done

View File

@@ -0,0 +1,18 @@
name: runcats
root: ~/Code/Sites/runcats/
on_project_start:
- go-task up
- $BROWSER http://dev.runcats.test:8001
- $BROWSER http://mail.runcats.test
on_project_exit: go-task down
startup_window: editor
windows:
- editor: nvim .
- build:
layout: tiled
panes:
- yarn --cwd=client dev
- yarn --cwd=client dev:android
- cd server && vendor/bin/sail logs -f
- misc: