Updated documentation pyenv init for fish shell comform to readme. (#1703)
This commit is contained in:
parent
592271b86f
commit
71d2e4549e
@ -70,7 +70,7 @@ if [ -z "$print" ]; then
|
|||||||
echo
|
echo
|
||||||
case "$shell" in
|
case "$shell" in
|
||||||
fish )
|
fish )
|
||||||
echo 'status --is-interactive; and source (pyenv init -|psub)'
|
echo 'pyenv init - | source'
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
echo 'eval "$(pyenv init -)"'
|
echo 'eval "$(pyenv init -)"'
|
||||||
|
@ -53,7 +53,7 @@ OUT
|
|||||||
@test "fish instructions" {
|
@test "fish instructions" {
|
||||||
run pyenv-init fish
|
run pyenv-init fish
|
||||||
assert [ "$status" -eq 1 ]
|
assert [ "$status" -eq 1 ]
|
||||||
assert_line 'status --is-interactive; and source (pyenv init -|psub)'
|
assert_line 'pyenv init - | source'
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "option to skip rehash" {
|
@test "option to skip rehash" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user