mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-02 18:41:06 -05:00
parent
526f2de13d
commit
69323e77cc
1 changed files with 7 additions and 10 deletions
13
README.md
13
README.md
|
@ -209,18 +209,15 @@ a systemwide install.
|
||||||
command-line utility.
|
command-line utility.
|
||||||
|
|
||||||
* For **bash**:
|
* For **bash**:
|
||||||
|
|
||||||
|
Ubuntu Desktop users should configure `~/.bashrc`:
|
||||||
~~~ bash
|
~~~ bash
|
||||||
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
|
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
* For **Ubuntu Desktop**:
|
On other platforms, bash is usually configured via `~/.bash_profile`:
|
||||||
|
|
||||||
In Ubuntu ~/.bash_profile is only sourced by bash when started in interactive login mode.
|
|
||||||
That is typically only when you login at the console (Ctrl+Alt+F1..F6), or connecting via ssh.
|
|
||||||
This issue is explained in detail
|
|
||||||
[here](https://askubuntu.com/questions/121073/why-bash-profile-is-not-getting-sourced-when-opening-a-terminal#121075).
|
|
||||||
~~~ bash
|
~~~ bash
|
||||||
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile
|
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
* For **Zsh**:
|
* For **Zsh**:
|
||||||
|
|
Loading…
Reference in a new issue