21 lines
629 B
Text
21 lines
629 B
Text
|
#!/usr/bin/env bash
|
||
|
|
||
|
tmux new-window -dn scratch
|
||
|
|
||
|
tmux new-window -dn static -c static
|
||
|
tmux send-keys -t static "simple-http-server --index --port 4000" Enter
|
||
|
|
||
|
tmux new-window -dn sculpin_install -c sculpin
|
||
|
tmux send-keys -t sculpin_install "composer install" Enter
|
||
|
|
||
|
tmux new-window -dn sculpin_run -c sculpin
|
||
|
tmux send-keys -t sculpin_run "vendor/bin/sculpin generate --server --port 4001 --watch" Enter
|
||
|
|
||
|
tmux new-window -dn drupal_install -c drupal
|
||
|
tmux send-keys -t drupal_install "composer install" Enter
|
||
|
|
||
|
tmux new-window -dn drupal_run -c drupal
|
||
|
tmux send-keys -t drupal_run "vendor/bin/drush runserver :4002" Enter
|
||
|
|
||
|
nvim .
|