(formatting fixes after merge)
[no ci]
This commit is contained in:
parent
5e4b2ac26c
commit
3cd07fbabb
12
README.md
12
README.md
@ -235,21 +235,21 @@ See [Advanced configuration](#advanced-configuration) for details and more confi
|
||||
<details>
|
||||
|
||||
1. If you have Fish 3.2.0 or newer, execute this interactively:
|
||||
~~~ fish
|
||||
```fish
|
||||
set -Ux PYENV_ROOT $HOME/.pyenv
|
||||
test -d $PYENV_ROOT/bin; and fish_add_path $PYENV_ROOT/bin
|
||||
~~~
|
||||
```
|
||||
|
||||
2. Otherwise, execute the snippet below:
|
||||
~~~ fish
|
||||
```fish
|
||||
set -Ux PYENV_ROOT $HOME/.pyenv
|
||||
test -d $PYENV_ROOT/bin; and set -U fish_user_paths $PYENV_ROOT/bin $fish_user_paths
|
||||
~~~
|
||||
```
|
||||
|
||||
3. Now, add this to `~/.config/fish/config.fish`:
|
||||
~~~ fish
|
||||
```fish
|
||||
pyenv init - fish | source
|
||||
~~~
|
||||
```
|
||||
</details>
|
||||
|
||||
### C. Restart your shell
|
||||
|
Loading…
x
Reference in New Issue
Block a user