Skip to content

Instantly share code, notes, and snippets.

@dblencowe
Created September 1, 2013 14:02
Show Gist options
  • Select an option

  • Save dblencowe/6404651 to your computer and use it in GitHub Desktop.

Select an option

Save dblencowe/6404651 to your computer and use it in GitHub Desktop.
source ~/.antigen/antigen.zsh
antigen use oh-my-zsh
antigen bundle git
antigen bundle bundler
antigen bundle rvm
antigen bundle rails3
antigen bundle history-substring-search
antigen bundle command-not-found
antigen bundle cp
antigen bundle zsh-users/zsh-syntax-highlighting
#antigen bundle johnhamelink/fasd-zsh
antigen bundle johnhamelink/rvm-zsh
antigen theme johnhamelink/norm-zsh norm
antigen apply
export EDITOR=subl
git-export() {
git clone --depth=1 "$@"
rm -rf "$2/.git"
}
uploadImage (){
echo "Uploading... " $1
curl -s -F "image=@$1" -F "key=486690f872c678126a2c09a9e196ce1b" http://imgur.com/api/upload.xml | grep -E -o "<original_image>(.)*</original_image>" | grep -E -o "http://i.imgur.com/[^<]*"
shift
}
alias server="ruby -rwebrick -e 'WEBrick::HTTPServer.new(:Port => 3001, :DocumentRoot => Dir.pwd).start"
alias ctags-ruby="ctags -R --exclude=.git --exclude=log --exclude=doc --exclude=tmp * /usr/local/rvm/gems/`rvm current`/*"
export CAPISTRANO_USER="dave"
export RAILS_ENV="development"
PATH=/usr/local/bin:$PATH:/usr/local/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