(formatting fixes after merge)

[no ci]
This commit is contained in:
Ivan Pozdeev 2025-05-17 16:09:07 +03:00
parent 5e4b2ac26c
commit 3cd07fbabb

View File

@ -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