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
commit cb0402214e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,"