Tmuxinator
This commit is contained in:
@@ -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
|
||||
|
||||
18
.config/tmuxinator/runcats.yml
Normal file
18
.config/tmuxinator/runcats.yml
Normal 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:
|
||||
|
||||
Reference in New Issue
Block a user