Skip to content

Instantly share code, notes, and snippets.



Created Jun 28, 2013
What would you like to do?
# Path to oh-my-zsh configuration.
# name of the theme
# ~/.oh-my-zsh/themes/
# aliases
alias zshconfig="subl ~/.zshrc"
alias -g subl=sublime
# git
alias g="git"
alias ga="git add"
alias gp="git push"
alias gpd="git push origin develop"
alias gpm="git push origin master"
alias gl="git pull"
alias gs="git status"
alias gd="git diff"
alias gm="git commit -m"
alias gma="git commit -am"
alias gco="git checkout"
# git flow
alias gfi="git flow init"
alias gff="git flow feature"
alias gfr="git flow release"
alias gfh="git flow hotfix"
alias gfs="git flow support"
# laravel generator aliases
alias pa="php artisan"
alias db:seed="php artisan db:seed"
alias g:c="php artisan generate:controller"
alias g:m="php artisan generate:model"
alias g:v="php artisan generate:view"
alias g:mig="php artisan generate:migration"
alias g:a="php artisan generate:assets"
alias g:t="php artisan generate:test"
alias g:r="php artisan generate:resource"
alias g:s="php artisan generate:seed"
# Set to this to use case-sensitive completion
# Comment this out to disable bi-weekly auto-update checks
# Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
# export UPDATE_ZSH_DAYS=13
# Uncomment following line if you want to disable colors in ls
# Uncomment following line if you want to disable autosetting terminal title.
# Uncomment following line if you want red dots to be displayed while waiting for completion
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
source $ZSH/
# export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Applications/MAMP/Library/bin
export PATH=$PATH:/usr/local/php5/bin:$PATH
PATH=$PATH:$HOME/.rvm/bin # Add RVM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment