-
-
Save travelmap/7a9aecc41549b7d869a5 to your computer and use it in GitHub Desktop.
This file contains 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
## SYSTEM | |
alias rez="exec zsh" | |
alias ll="ls -lahi --color=auto" | |
alias e="exit" | |
alias sudo="sudo " | |
alias c="clear" | |
alias m="mkdir " | |
### apt-get | |
alias agi="sudo apt-get install" | |
alias agr="sudo apt-get remove" | |
alias agu="sudo apt-get update" | |
alias acs="apt-cache search" | |
alias upgrade="sudo apt-get update && sudo apt-get upgrade" | |
## COMMANDS | |
alias svi="sudo vi" | |
### quick and useful | |
alias copyssh="cat ~/.ssh/id_rsa.pub | xclip && echo 'Copied to clipboard.'" | |
### NODE PACKAGE MANAGER | |
alias ni="npm install " | |
## GIT | |
alias gst="git status" | |
alias ga="git add ." | |
alias gc="git commit -m" | |
alias gac="git add . && git add -u && git commit -m" | |
alias gp="git push" | |
alias gpl="git pull" | |
alias gm="git merge" | |
alias gs="git status" | |
alias gl="git log" | |
alias gco="git checkout" | |
alias gb="git branch" | |
## LARAVEL | |
alias getlaravel="git clone -o laravel -b develop https://github.com/laravel/laravel.git" | |
alias pa="php artisan" | |
alias l:o="pa clear-compiled && pa ide-helper:generate && pa optimize" | |
alias composer="/usr/local/bin/composer.phar" | |
alias g:m="php artisan generate:model" | |
alias g:c="php artisan generate:controller" | |
alias g:v="php artisan generate:view" | |
alias g:s="php artisan generate:seed" | |
alias g:sc="php artisan generate:scaffold" | |
alias g:mig="php artisan generate:migration" | |
alias g:r="php artisan generate:resource" | |
alias g:p="php artisan generate:pivot" | |
# TESTING | |
alias p:s="vendor/bin/phpspec" | |
alias psr="vendor/bin/phpspec run" | |
alias psd="vendor/bin/phpspec desc " | |
alias behat="vendor/bin/behat" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment