1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-14 22:33:52 -05:00

Updated documentation pyenv init for fish shell comform to readme. (#1703)

This commit is contained in:
M. Smits
2020-10-02 03:28:29 +02:00
committed by GitHub
parent 592271b86f
commit 71d2e4549e
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ if [ -z "$print" ]; then
echo
case "$shell" in
fish )
echo 'status --is-interactive; and source (pyenv init -|psub)'
echo 'pyenv init - | source'
;;
* )
echo 'eval "$(pyenv init -)"'

View File

@@ -53,7 +53,7 @@ OUT
@test "fish instructions" {
run pyenv-init fish
assert [ "$status" -eq 1 ]
assert_line 'status --is-interactive; and source (pyenv init -|psub)'
assert_line 'pyenv init - | source'
}
@test "option to skip rehash" {