Skip to content

Instantly share code, notes, and snippets.

@masnun
Created January 18, 2013 08:22
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save masnun/4563135 to your computer and use it in GitHub Desktop.
Save masnun/4563135 to your computer and use it in GitHub Desktop.
Zsh configuration
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# 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="custom"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# 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)
# Default User
DEFAULT_USER="masnun"
source $ZSH/oh-my-zsh.sh
############### Aliases ################
#AMP
alias php.ini='subl /usr/local/etc/php/5.4/php.ini'
alias httpd.conf='subl /etc/apache2/httpd.conf'
alias vhosts='subl /private/etc/apache2/extra/httpd-vhosts.conf'
alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin
export mysqlctl=/Library/StartupItems/MySQLCOM/MySQLCOM
#Git Tower
alias gt=gittower
############### PATH ###################
#Homebrew PHP
export PATH=/usr/local/Cellar/php54/5.4.8/bin:$PATH
#Homebrew Python
export PATH=/usr/local/share/python:$PATH
#Homebrew Ruby
export PATH=/usr/local/Cellar/ruby/1.9.3-p286/bin:$PATH
#Homebrew (Main homebrew path should be after any other homebrew paths)
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
#Android SDk
export PATH=~/android-sdk/platform-tools:$PATH
#Postgres App
export PATH="/Applications/Postgres.app/Contents/MacOS/bin:$PATH"
# My local Bin
export PATH=~/.bin:$PATH
#PYTHONPATH
export PYTHONPATH="/usr/local/lib/python2.7/site-packages:$PYTHONPATH"
############### Virtual EnvWrapper ####################
## virtualenvwrapper configs
export WORKON_HOME=$HOME/.virtualenvs
export PIP_VIRTUALENV_BASE=$WORKON_HOME
export PIP_RESPECT_VIRTUALENV=true
#virtualenv shell script
source /usr/local/share/python/virtualenvwrapper.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment