remove rvm, dont source profile

This commit is contained in:
Robin Wenglewski 2011-12-30 03:35:03 +01:00
commit c796d9f1d9
4 changed files with 4 additions and 5 deletions

View file

@ -1,3 +1,4 @@
task :setup do
%x(ln -sf ~/.zsh/zshrc ~/.zshrc)
%x(ln -sf ~/.zsh/zshenv ~/.zshenv)
end

View file

@ -74,7 +74,3 @@ unsetopt EXTENDED_HISTORY # add timestamps to history
# ctrl-< and crtrl-> still works
export DISABLE_AUTO_UPDATE=true
# rvm, should be at the end of this config file
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.

1
zshenv Executable file
View file

@ -0,0 +1 @@
eval "$(rbenv init -)"

3
zshrc
View file

@ -1,6 +1,7 @@
# source global profile if exists. This is important, since in /etc/profile the /etc/profile.d/* files are sourced.
# These usually contain additional path variables and other global settings
[[ -f /etc/profile ]] && . /etc/profile
# on the other hand, when I source this the path i set in zshenv seems to be overriden
# [[ -f /etc/profile ]] && . /etc/profile
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.zsh