Created
September 19, 2022 15:39
-
-
Save natanaugusto/070080e12e9f508fefc384a3f86d042d to your computer and use it in GitHub Desktop.
Aliases for Laravel Sail and docker stuffs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias art='[ -f artisan ] && php artisan' | |
alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail' | |
alias sart='sail artisan' | |
alias snpm='sail npm' | |
alias scomposer='sail composer' | |
alias stest='sail test' | |
alias sdebug='sail debug' | |
alias doc='docker' | |
alias docsys='docker system' | |
alias docontr='docker container' | |
alias docimg='docker image' | |
alias docomp='docker-compose' | |
alias docomp='docker-compose' | |
alias docps='docker ps' | |
alias doclogs='docker logs' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment