1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-16 07:13:53 -05:00

Init script automatically adds rbenv to PATH if necessary (#1432)

This commit is contained in:
Mislav Marohnić
2022-09-24 23:59:13 +02:00
committed by GitHub
parent 117a381575
commit 9572edf4bb
2 changed files with 19 additions and 7 deletions

View File

@@ -21,7 +21,7 @@ load test_helper
root="$(cd $BATS_TEST_DIRNAME/.. && pwd)"
run rbenv-init - bash
assert_success
assert_line "source '${root}/test/../libexec/../completions/rbenv.bash'"
assert_line "source '${root}/test/../completions/rbenv.bash'"
}
@test "detect parent shell" {