diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 734b43e..4a14f7a 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -89,6 +89,10 @@ alias \ notes="cd ~/Tower/Notes && nvim ." \ aid="aider" +# Projects +alias \ + src="tmuxinator start runcats" + # Dev alias \ sail='[ -f sail ] && sh sail || sh vendor/bin/sail' \ @@ -96,7 +100,9 @@ alias \ y="yarn" \ ci="composer install" \ c="composer" \ - tk="go-task" + tk="go-task" \ + mux="tmuxinator" \ + mex="tmuxinator stop-all" # Translating alias \ @@ -131,7 +137,7 @@ function gh() { echo "Git First-Aid:" echo "--------------------------------" - + for i in {1..${#commands[@]}}; do echo "$i) ${commands[$i]}" done diff --git a/.config/tmuxinator/runcats.yml b/.config/tmuxinator/runcats.yml new file mode 100644 index 0000000..fbd775a --- /dev/null +++ b/.config/tmuxinator/runcats.yml @@ -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: +