Created
June 8, 2011 21:30
-
-
Save ignu/1015460 to your computer and use it in GitHub Desktop.
RVM broken on zsh using ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
☁ ~ rvm use ree | |
Using /usr/local/rvm/gems/ree-1.8.7-2011.03 | |
☁ ~ ruby -v | |
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux] | |
☁ ~ bash | |
root@li285-163:~# rvm use ree | |
Using /usr/local/rvm/gems/ree-1.8.7-2011.03 | |
root@li285-163:~# ruby -v | |
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2011.03 | |
root@li285-163:~# |
In .bashrc:
6 [[ -s "/usr/local/rvm/scripts/rvm" ]] && source "/usr/local/rvm/scripts/rvm"
7 [ -z "$PS1" ] && return
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In my .zshrc:
unsetopt auto_name_dirs # needed to not see rvm_rc
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
plugins=(git ruby rvm gem bundler)
source $ZSH/oh-my-zsh.sh