Browse Source

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

pull/1814/head
M. Smits 4 years ago
committed by GitHub
parent
commit
71d2e4549e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libexec/pyenv-init
  2. +1
    -1
      test/init.bats

+ 1
- 1
libexec/pyenv-init 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 -)"'

+ 1
- 1
test/init.bats 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" {

Loading…
Cancel
Save