Last active
August 16, 2022 06:26
-
-
Save AbiruzzamanMolla/1c89844e9ecb3b8eeeed3b6a5104bec4 to your computer and use it in GitHub Desktop.
bash alias commands
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 Custom | |
alias pa="php artisan" | |
alias pas="php artisan serve" | |
alias pamfs="php artisan migrate:fresh --seed" | |
alias pao="pa optimize:clear && pa cache:clear && pa config:clear && pa config:cache && pa optimize && pa route:clear && pa route:cache && pa view:clear && pa view:cache" | |
alias clr="clear" | |
alias pamf="php artisan migrate:fresh" | |
alias paoc="php artisan optimize:clear" | |
alias pacc="php artisan config:clear" | |
alias pamm="php artisan make:model" | |
alias pamc="php artisan make:controller" | |
alias www="cd /var/www/html" | |
alias c="composer" | |
alias g="git" | |
alias gc="git commit -m | |
mkcd (){ | |
mkdir -p -- "$1" && cd -P -- "$1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment