Skip to content

Instantly share code, notes, and snippets.

@AbiruzzamanMolla
Last active August 16, 2022 06:26
Show Gist options
  • Save AbiruzzamanMolla/1c89844e9ecb3b8eeeed3b6a5104bec4 to your computer and use it in GitHub Desktop.
Save AbiruzzamanMolla/1c89844e9ecb3b8eeeed3b6a5104bec4 to your computer and use it in GitHub Desktop.
bash alias commands
# 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