(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| # GIT MERGE OPTIONS DEPENDING HOSTING OR DEPLOYMENT PROVIDERS | |
| # git checkout -- . | |
| # git checkout . | |
| # git merge | |
| # php artisan down || true | |
| # Put the application into maintenance / demo mode | |
| php artisan down | |
| # GIT Clear current generated files so can pull new ones |
| # Change to the project directory | |
| cd $FORGE_SITE_PATH | |
| # Turn on maintenance mode | |
| php artisan down || true | |
| # Pull the latest changes from the git repository | |
| # git reset --hard | |
| # git clean -df | |
| git pull origin $FORGE_SITE_BRANCH |
| # watch files and rerun phpunit on changes | |
| phpunitwait() { | |
| while inotifywait $(find $1 -name '*.php'); | |
| do | |
| clear; | |
| phpunit --colors $2; | |
| done; | |
| } |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.