Skip to content

Instantly share code, notes, and snippets.

@travisjeffery
Created October 21, 2009 14:19
Show Gist options
  • Save travisjeffery/215135 to your computer and use it in GitHub Desktop.
Save travisjeffery/215135 to your computer and use it in GitHub Desktop.
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set to the name theme to load.
# Look in ~/.oh-my-zsh/themes/
export ZSH_THEME="robbyrussell"
# Comment this out to disable weekly auto-update checks
# export DISABLE_AUTO_UPDATE="false"
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH="/Users/travis/.cabal/bin/:/usr/local/mysql/bin:/usr/local/bin:/usr/local/bin:/opt/local/bin:/opt/local/bin/apache2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/lib:/usr/local/lib:/Users/travis/Sites/cake/cake/console:/usr/local/pgsql/bin:/usr/texbin:/usr/local/sage:/Users/travis/.gem/ruby/1.8/bin:/Applications/sage:/Users/travis/Documents/repos/ooc/utils"
export PYTHONPATH='$PYTHONPATH:/usr/local/lib/python:/usr/local/lib/python2.6/lib/site-packages:/Users/travis/Library/ApplicationSupport/TextMate/Support/lib:/Users/travis/Sites/talentegg:/Users/travis/Sites:/Users/travis/Documents/django-profile:/Users/travis/Documents/django-trunk:/Users/travis/Documents/django-googlemap/geo:/Users/travis/Documents/repos/see'
export PYTHONSTARTUP=$HOME/.pythonrc.py
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local:/usr/local/bin:/usr/local/include"
export VIM_APP_DIR="/Applications/Builds/Vim/src/MacVim/build/Release"
export GVIM="/usr/local/bin/mvim"
export EDITOR='mate'
HISTFILE=~/.zsh_history
HISTSIZE=1000
SAVEHIST=1000
REPORTTIME=10 # print elapsed time when more than 10 seconds
setopt NO_BG_NICE # don't nice background tasks
setopt NO_HUP
setopt NO_LIST_BEEP
setopt LOCAL_OPTIONS # allow functions to have local options
setopt LOCAL_TRAPS # allow functions to have local traps
setopt HIST_VERIFY
setopt SHARE_HISTORY # share history between sessions ???
setopt EXTENDED_HISTORY # add timestamps to history
setopt PROMPT_SUBST
setopt CORRECT
setopt COMPLETE_IN_WORD
setopt IGNORE_EOF
setopt APPEND_HISTORY # adds history
setopt INC_APPEND_HISTORY SHARE_HISTORY # adds history incrementally and share it across sessions
setopt HIST_IGNORE_ALL_DUPS # don't record dupes in history
setopt HIST_REDUCE_BLANKS
# ALIASES
#
# cd
alias ..='cd ..'
alias c="clear"
# ls
alias ls="ls -F"
alias l="ls -lAh"
alias ll="ls -l"
alias la='ls -A'
alias o="open"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment