Skip to content

Instantly share code, notes, and snippets.

@gmann1982
Created July 24, 2013 16:50
Show Gist options
  • Save gmann1982/6072316 to your computer and use it in GitHub Desktop.
Save gmann1982/6072316 to your computer and use it in GitHub Desktop.
my zsh config
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
alias ukfast='ssh [email protected] -p 2020'
alias ovh1='ssh [email protected]'
alias zshconfig="vim ~/.zshrc"
# laravel new-app
alias laravel="git clone -o laravel -b develop https://github.com/laravel/laravel.git"
#
alias artisan="php artisan"
alias migrate="php artisan migrate"
alias serve="php artisan serve"
alias dump="php artisan dump"
alias t="vendor/bin/phpunit"
#
# # Generators Package
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:t="php artisan generate:test"
alias g:r="php artisan generate:resource"
alias g:s="php artisan generate:scaffold"
alias g:f="php artisan generate:form"
#
# # Git
alias ga="git add"
alias gaa="git add ."
alias gc="git commit -m"
alias gp="git push"
alias gs="git status"
alias gl="git log"
alias gpull="git pull"
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="agnoster"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# 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/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=$(brew --prefix josegonzalez/php/php54)/bin:/usr/local/sbin:$HOME/.rvm/bin:$PATH # Add RVM to PATH for scripting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment