mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
remove rvm, dont source profile
This commit is contained in:
parent
3c5fb0ad88
commit
c796d9f1d9
4 changed files with 4 additions and 5 deletions
1
Rakefile
1
Rakefile
|
|
@ -1,3 +1,4 @@
|
|||
task :setup do
|
||||
%x(ln -sf ~/.zsh/zshrc ~/.zshrc)
|
||||
%x(ln -sf ~/.zsh/zshenv ~/.zshenv)
|
||||
end
|
||||
|
|
@ -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
1
zshenv
Executable file
|
|
@ -0,0 +1 @@
|
|||
eval "$(rbenv init -)"
|
||||
3
zshrc
3
zshrc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue