Skip to content

Commit

Permalink
RVM (sigh)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsc committed Jun 23, 2011
1 parent 23d7790 commit 0d88fa8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.netrwhist
*.pyc
rvm*
3 changes: 2 additions & 1 deletion gemrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
gem: --no-ri --no-rdoc
install: --no-rdoc --no-ri
update: --no-rdoc --no-ri
2 changes: 1 addition & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ set directory=~/.vim/swap,~/tmp,.
au BufRead,BufNewFile /etc/nginx/* set ft=nginx
au BufRead,BufNewFile *.json set ft=javascript foldmethod=syntax
au BufRead,BufNewFile *.zsh-theme,zshrc set ft=zsh
au BufRead,BufNewFile Vagrantfile set ft=ruby
au BufRead,BufNewFile Vagrantfile,Gemfile set ft=ruby

" Colors
syntax enable
Expand Down
4 changes: 3 additions & 1 deletion zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ export ZSH_THEME="wsc"

case $(uname) in
(Darwin)
export PATH=/usr/local/Cellar/ruby/1.9.2-p180/bin:/usr/local/bin:$PATH
export PATH=/usr/local/bin:$PATH
plugins=(git github gem osx brew vagrant bundler rails3)
;;
(Linux)
plugins=(git github gem command-not-found bundler rails3)
;;
esac

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

export ZSH=$HOME/.zsh
source $ZSH/init.sh

0 comments on commit 0d88fa8

Please sign in to comment.