Last active
July 6, 2018 09:12
-
-
Save hanspagel/5710f625b18f9fe939ec1e87e2acc27d to your computer and use it in GitHub Desktop.
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
# jump to web projects | |
alias web='cd ~/Documents/Websites' | |
# repeat last command with sudo | |
alias lol='sudo "$BASH" -c "$(history -p !!)"' | |
# alias for docker-compose | |
alias dcp='docker-compose' | |
# run artisan in docker | |
alias artisan='CONTAINER=${CONTAINER:-php} && dcp exec $CONTAINER php artisan' | |
# run composer in docker | |
alias domposer='CONTAINER=${CONTAINER:-php} && dcp exec $CONTAINER composer' | |
# run composer require in docker | |
alias cr='domposer require' | |
# install node dependencies and start webpack | |
alias ys='yarn && yarn start' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment