Skip to content

Instantly share code, notes, and snippets.

@decklord
Last active December 29, 2015 04:38
Show Gist options
  • Save decklord/7615843 to your computer and use it in GitHub Desktop.
Save decklord/7615843 to your computer and use it in GitHub Desktop.
ZSH Config File
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
#bind '"\e[A": history-search-backward'
#bind '"\e[B": history-search-forward'
# 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="robbyrussell"
#ZSH_THEME="daveverwer"
# 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 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/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git, pip, fabric, brew, autojump, virtualenvwrapper, zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/git/bin
PATH=$PATH:$HOME/.rvm/gems/ruby-1.9.3-p362/bin
#Ruby fix for zsh
alias rake="noglob rake"
# Add NVM
PATH=$PATH:$HOME/.nvm
# Add RVM to PATH for scripting
PATH=$PATH:$HOME/.rvm/bin
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
### Postgres
export PGHOST=127.0.0.1
### Default Editor
export EDITOR=subl
### AutoJump Stuff
[[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh
export LC_ALL=en_US.UTF-8
### VirtualEnv Stuff
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
### From http://gitignore.io/cli
function gi() { curl http://gitignore.io/api/$@ ;}
@decklord
Copy link
Author

Adding Fix for Ruby Rake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment