Skip to content

Instantly share code, notes, and snippets.

@reuven
Created May 12, 2013 06:58
Show Gist options
  • Save reuven/5562687 to your computer and use it in GitHub Desktop.
Save reuven/5562687 to your computer and use it in GitHub Desktop.
# Path to your oh-my-zsh configuration.
export 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.
export ZSH_THEME="reuven"
export EDITOR=emacsclient
# 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=(cap git gem ruby rvm osx rails rails3 compleat python brew bundler zsh-syntax-highlighting)
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor root)
source $ZSH/oh-my-zsh.sh
export PATH=/usr/local/share/python:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/texbin
alias ls="ls -BF --color"
alias ec="emacsclient -n -c"
export PAGER=less
export LESS='-RXs'
zstyle ':completion:*' completer _complete _match _approximate
zstyle ':completion:*:match:*' original only
zstyle ':completion:*:approximate:*' max-errors 1 numeric
# tab completion for PID :D
zstyle ':completion:*:*:kill:*' menu yes select
zstyle ':completion:*:kill:*' force-list always
# cd not select parent dir
zstyle ':completion:*:cd:*' ignore-parents parent pwd
bindkey "\e." insert-last-word
setopt hist_ignore_all_dups
export NODE_PATH=/usr/local/lib/node_modules:$NODE_PATH
export PATH=/usr/local/share/npm/bin:$PATH
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" __rvm_project_rvmrc
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment