mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Zsh users need to modify ~/.zshenv, not ~/.zshrc
This commit is contained in:
parent
be7dcc0ad8
commit
4cc6665d0a
2 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue