mirror of
https://github.com/pyenv/pyenv.git
synced 2025-01-27 10:14:53 +00:00
Suggest that fish users init in interactive mode
...rather than login mode. I couldn't get rid of the warning that `pyenv init -` no longer sets path until I did this. It looks like setting only on the login shell wasn't enough to hide the warning in other shells I opened. This fits with [how rbenv does the same thing](https://github.com/rbenv/rbenv/blob/master/libexec/rbenv-init#L74). I'm way out of my depth here, so someone who knows about shell types should definitely review this.
This commit is contained in:
parent
5f75198569
commit
d2bd4c06ef
1 changed files with 1 additions and 1 deletions
|
@ -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