1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-14 06:13:53 -05:00

Merge pull request #1991 from hughrawlinson/patch-1

Suggest that fish users init in interactive mode
This commit is contained in:
Anton Petrov
2021-06-27 11:01:42 +03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -296,7 +296,7 @@ easy to fork and contribute any changes back upstream.
And add this to `~/.config/fish/config.fish`:
~~~ fish
status is-login; and pyenv init --path | source
status is-interactive; and pyenv init --path | source
~~~
If Fish is not your login shell, also follow the Bash/Zsh instructions to add to `~/.profile`.

View File

@@ -109,7 +109,7 @@ function help_() {
echo "# Load pyenv automatically by appending"
echo "# the following to ~/.config/fish/config.fish:"
echo
echo 'status is-login; and pyenv init --path | source'
echo 'status is-interactive; and pyenv init --path | source'
echo 'pyenv init - | source'
echo
echo "# If fish is not your login shell,"