Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created April 28, 2013 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/5478301 to your computer and use it in GitHub Desktop.
Save tmcw/5478301 to your computer and use it in GitHub Desktop.
autoload -U compinit && compinit
autoload -U colors && colors
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion:*' list-colors "=(#b) #([0-9]#)*=36=31"
# export paths, make sure that the prompt looks cool
PATH="/usr/local/bin:$HOME/bin:/usr/local/sbin:$PATH"
PS1="%{$fg[green]%}%~〉%{$reset_color%}"
export EDITOR=vim
export D8_PATH=/Users/tmcw/src/v8/
# init ruby
# alias rin='[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" && PATH=$PATH:$HOME/.rvm/bin'
alias git='hub'
alias gst='git status'
alias v='mvim'
alias e='~/Applications/Emacs'
alias t='task'
alias server='python -m SimpleHTTPServer &'
alias js='jekyll --server'
alias ios='open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app'
alias togif='gm mogrify -format gif '
alias u='cd ../'
alias redis='redis-server /usr/local/etc/redis.conf'
alias lsize='gdu -hs * | gsort -h'
alias revtodo='v ~/Dropbox/docs/personal/daylog.otl'
alias gistticks='~/src/v8/tools/mac-tick-processor | gist'
alias s='serve'
alias s3personal='s3cmd -c ~/.s3cfg-personal'
# eat the startup cost for node..
. ~/.nvm/nvm.sh && nvm use v0.8.21 &> /dev/null
. ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fpath=($HOME/.zsh/func $fpath)
fpath=(~/src/zsh-completions/src $fpath)
typeset -U fpath
RUBIES=(
# other rubies here
~/.rubies/ruby-1.9.3-p392
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment