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:
@@ -296,7 +296,7 @@ easy to fork and contribute any changes back upstream.
|
|||||||
|
|
||||||
And add this to `~/.config/fish/config.fish`:
|
And add this to `~/.config/fish/config.fish`:
|
||||||
~~~ 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`.
|
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 "# Load pyenv automatically by appending"
|
||||||
echo "# the following to ~/.config/fish/config.fish:"
|
echo "# the following to ~/.config/fish/config.fish:"
|
||||||
echo
|
echo
|
||||||
echo 'status is-login; and pyenv init --path | source'
|
echo 'status is-interactive; and pyenv init --path | source'
|
||||||
echo 'pyenv init - | source'
|
echo 'pyenv init - | source'
|
||||||
echo
|
echo
|
||||||
echo "# If fish is not your login shell,"
|
echo "# If fish is not your login shell,"
|
||||||
|
|||||||
Reference in New Issue
Block a user