codedungeon
5/13/2018 - 5:04 AM

Common Bash Aliases

Common bash aliases to move into a docker container. Thiese are base aliases when executing lift init

#!/usr/bin/env bash
alias cls="clear && ls"
alias cll="clear && ls -la"
alias code="cd /var/www/html"
alias home="cd /var/www/html"
alias dev="cd /var/www/html"
alias ptest="./vendor/bin/phpunit --colors=always"
alias ea="vi ~/.bash_aliases"
alias ra="source !/.bash_aliases"

alias art="php artisan"
alias artisan="php artisan"
alias tinker="php artisan tinker"
alias dump="composer dump-autoload -o"
alias seed="php artisan db:seed"

alias restart="service apache2 restart"