Skip to content

Instantly share code, notes, and snippets.

@mostafamaklad
Last active June 26, 2018 14:38
Show Gist options
  • Save mostafamaklad/a794171e394e01117d3c0460351fab3b to your computer and use it in GitHub Desktop.
Save mostafamaklad/a794171e394e01117d3c0460351fab3b to your computer and use it in GitHub Desktop.
My Bash Aliases
# Open
alias ps='open -a PhpStorm'
alias vs='open -a "Visual Studio Code"'
alias chrome='open -a "Google Chrome"'
# SSH
alias copyssh='pbcopy < ~/.ssh/id_rsa.pub'
# GIT
alias gp='git pull && git push'
alias gs='git status'
alias gd='git diff'
alias gc='git commit -S -m'
alias ga='git add --all'
## Lists
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -aCF'
# Artisan
alias artisan='php artisan'
alias tinker='php artisan tinker'
alias serve='php artisan serve'
alias dusk='php artisan dusk'
alias clearcache='php artisan cache:clear && php artisan config:clear && php artisan view:clear && php artisan route:clear'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment