Skip to content

Instantly share code, notes, and snippets.

@lewislarsen
Last active July 16, 2024 15:20
Show Gist options
  • Save lewislarsen/71e29b2986e2538700fe9a2cfbff5af7 to your computer and use it in GitHub Desktop.
Save lewislarsen/71e29b2986e2538700fe9a2cfbff5af7 to your computer and use it in GitHub Desktop.
Bash aliases
## CUSTOM ALIASES
alias gst='git status'
alias push='git push'
alias models='php artisan ide-helper:generate && php artisan ide-helper:meta && php artisan ide-helper:models'
alias dev='npm run dev'
alias mf='php artisan migrate:fresh'
alias mfs='php artisan migrate:fresh --seed'
alias art='php artisan'
alias grst='git reset --hard HEAD'
alias tpl='php artisan test --parallel'
alias dust='./vendor/bin/duster fix'
alias pstn='./vendor/bin/phpstan analyse --memory-limit=2G'
alias rct='./vendor/bin/rector'
alias wphst='echo -n > ~/.zsh_history && echo "Zsh history has been cleared"'
alias checkall='tpl && dust && pstn && rct'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment