Zsh users need to modify ~/.zshenv, not ~/.zshrc

This commit is contained in:
Sam Stephenson 2011-11-14 12:52:10 -06:00
parent be7dcc0ad8
commit 4cc6665d0a
2 changed files with 4 additions and 4 deletions

View file

@ -100,13 +100,13 @@ easy to fork and contribute any changes back upstream.
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
**Zsh note**: Modifiy your `~/.zshrc` file instead of `~/.bash_profile`.
**Zsh note**: Modifiy your `~/.zshenv` file instead of `~/.bash_profile`.
3. Add rbenv init to your shell to enable shims and autocompletion.
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
**Zsh note**: Modifiy your `~/.zshrc` file instead of `~/.bash_profile`.
**Zsh note**: Modifiy your `~/.zshenv` file instead of `~/.bash_profile`.
4. Restart your shell so the path changes take effect. You can now
begin using rbenv.

View file

@ -81,13 +81,13 @@ easy to fork and contribute any changes back upstream.
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
**Zsh note**: Modifiy your `~/.zshrc` file instead of `~/.bash_profile`.
**Zsh note**: Modifiy your `~/.zshenv` file instead of `~/.bash_profile`.
3. Add rbenv init to your shell to enable shims and autocompletion.
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
**Zsh note**: Modifiy your `~/.zshrc` file instead of `~/.bash_profile`.
**Zsh note**: Modifiy your `~/.zshenv` file instead of `~/.bash_profile`.
4. Restart your shell so the path changes take effect. You can now
begin using rbenv.