Skip to content

Instantly share code, notes, and snippets.

@ryanlntn
Last active December 24, 2015 16:29
Show Gist options
  • Save ryanlntn/6828858 to your computer and use it in GitHub Desktop.
Save ryanlntn/6828858 to your computer and use it in GitHub Desktop.
# 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="muse"
# Example aliases
alias zshconfig="subl ~/.zshrc"
alias ohmyzsh="subl ~/.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=7
# 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
# Customize to your needs...
export PATH=/Users/ryanlntn/.rvm/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/usr/local/share/python:/usr/local/share/npm/bin
alias gac="git add -A; git commit -m"
### Added by the Heroku Toolbelt
export PATH="$PATH:/usr/local/heroku/bin"
# virtualenv
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/share/python/virtualenvwrapper.sh
# virtualenv aliases
# http://blog.doughellmann.com/2010/01/virtualenvwrapper-tips-and-tricks.html
alias v='workon'
alias v.deactivate='deactivate'
alias v.mk='mkvirtualenv --no-site-packages'
alias v.mk_withsitepackages='mkvirtualenv'
alias v.mk3='mkvirtualenv -p python3.3'
alias v.rm='rmvirtualenv'
alias v.switch='workon'
alias v.add2virtualenv='add2virtualenv'
alias v.cdsitepackages='cdsitepackages'
alias v.cd='cdvirtualenv'
alias v.lssitepackages='lssitepackages'
# z script
. `brew --prefix`/etc/profile.d/z.sh
# Add Open SSL
export SSL_CERT_FILE=/usr/local/Cellar/curl-ca-bundle/1.87/share/ca-bundle.crt
# Add clone function for easy cloning
clone() {
git clone git@bitbucket.org:clearsightstudio/$1.git
cd $1
}
# Add gitdeploysetup script
PATH=$HOME/Code/winscripts:$PATH
# Kill rails without having to locate the process
alias killrails="kill -9 $(lsof -i tcp:3000 -t)"
# Syntax highlighting
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
# Set bundler editor
export BUNDLER_EDITOR=subl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment