mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #1991 from hughrawlinson/patch-1
Suggest that fish users init in interactive mode
This commit is contained in:
commit
cb0402214e
2 changed files with 2 additions and 2 deletions
|
@ -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`.
|
||||
|
|
|
@ -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,"
|
||||
|
|
Loading…
Reference in a new issue