Skip to content

Commit

Permalink
Updated documentation pyenv init for fish shell comform to readme. (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
MS90D3V authored Oct 2, 2020
1 parent 592271b commit 71d2e45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libexec/pyenv-init
Original file line number Diff line number Diff line change
Expand Up @@ -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 -)"'
Expand Down
2 changes: 1 addition & 1 deletion test/init.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 71d2e45

Please sign in to comment.