Created
July 2, 2020 08:16
-
-
Save polodev/0817e1284434ff98ec7e07419a2f8176 to your computer and use it in GitHub Desktop.
server zsh alias
This file contains hidden or 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 gs="git status" | |
alias www="cd /var/www" | |
alias sa="cd /etc/apache2/sites-available" | |
alias ra="sudo systemctl restart apache2" | |
alias gpull="git pull origin master" | |
alias migfs="echo 'never'" | |
alias art="php artisan" | |
alias up="php artisan up" | |
alias down="php artisan down" | |
alias ac="" | |
alias gp="sudo chmod -R 775 /var/www && sudo chmod -R 777 /var/www && sudo chown -R www-data:www-data /var/www/" | |
alias bottleon="sudo a2ensite bottle.conf" | |
alias bottleoff="sudo a2dissite bottle.conf" | |
alias phpinfoon="sudo a2ensite phpinfo.conf" | |
alias phpinfooff="sudo a2dissite phpinfo.conf" | |
alias ~="cd ~" | |
alias home="cd ~" | |
alias backup="php artisan backup:run --only-db" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment