Permalink
Browse files

rbenv > rvm

  • Loading branch information...
1 parent 067e4e8 commit a09faa1bc2f210018a451b967b0ce63597dc1562 Dean Strelau committed Oct 20, 2011
Showing with 20 additions and 4 deletions.
  1. +3 −0 gitignore
  2. +0 −2 rvmrc
  3. +17 −0 zsh/rbenv.zsh
  4. +0 −2 zsh/rvm.zsh
View
@@ -5,3 +5,6 @@ tags
.livereload
.watchr
*.swp
+.rbenv-version
+.rbenv-vars
+.env
View
2 rvmrc
@@ -1,2 +0,0 @@
-rvm_archflags="-arch x86_64"
-rvm_gemset_create_on_use_flag=1
View
@@ -0,0 +1,17 @@
+export PATH="$HOME/.rbenv/bin:$PATH"
+export PATH="$HOME/.rbenv/shims:$PATH"
+source "$HOME/.rbenv/completions/rbenv.zsh"
+rbenv rehash 2>/dev/null
+function rbenv() {
+ command="$1"
+ if [ "$#" -gt 0 ]; then
+ shift
+ fi
+
+ case "$command" in
+ shell)
+ eval `rbenv "sh-$command" "$@"`;;
+ *)
+ command rbenv "$command" "$@";;
+ esac
+}
View
@@ -1,2 +0,0 @@
-unsetopt auto_name_dirs
-[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"

0 comments on commit a09faa1

Please sign in to comment.