moktar
2/10/2020 - 10:59 AM

aliases

alias desk="cd /Users/pro/Desktop"
alias pro="cd /Users/pro/Desktop/procrm"
alias sub="open -a /Applications/Sublime\ Text.app"
alias webapps="cd /Users/pro/Desktop/webapps"
alias zsh="sub ~/.zshrc"
alias source_zsh="source ~/.zshrc"
alias c="clear"
alias ...="cd ../../../"
alias ....="cd ../../../../"
alias .....="cd ../../../../../"

# reboot / halt / poweroff
alias reboot='sudo /sbin/reboot'
alias poweroff='sudo /sbin/poweroff'
alias halt='sudo /sbin/halt'
alias shutdown='sudo /sbin/shutdown -h now'

#  laravel 
alias horizon="php artisan horizon"
alias echoserver="laravel-echo-server start"
alias queue="php artisan queue:listen --queue=default --tries=1"

alias npmdev="npm run dev"
alias npmwatch="npm run watch"

alias composerinstall="composer install"
alias composerupdate="composer update"
alias composerdump="composer dump-autoload"
alias composercache="composer clear-cache"

alias art="php artisan"
alias artmake="php artisan make:"

# brew 
alias brewstop="brew services stop --all"
alias brewrestart="brew services restart --all"
alias brewlist="brew services list"
alias test="./vendor/bin/phpunit"

alias ch_dir="cd /Users/pro/Desktop/ch"
alias ch_get="node index.js"