Created
June 28, 2013 15:59
-
-
Save nielsiano/5885792 to your computer and use it in GitHub Desktop.
zshconfig
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
# Path to oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# name of the theme | |
# ~/.oh-my-zsh/themes/ | |
ZSH_THEME="nielsiano" | |
# 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 | |
# CASE_SENSITIVE="true" | |
# Comment this out to disable bi-weekly auto-update checks | |
# DISABLE_AUTO_UPDATE="true" | |
# 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 | |
# DISABLE_LS_COLORS="true" | |
# Uncomment following line if you want to disable autosetting terminal title. | |
# DISABLE_AUTO_TITLE="true" | |
# Uncomment following line if you want red dots to be displayed while waiting for completion | |
# COMPLETION_WAITING_DOTS="true" | |
# 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) | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
# 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