mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-16 15:23:53 -05:00
Ubuntu fix: don't use . in place of source
If `rbenv init -` outputs `.` in place of `source` and that gets eval'd by the desktop manager via `~/.profile`, it chokes and prevents the user from logging in. Fixes #457
This commit is contained in:
@@ -21,7 +21,7 @@ load test_helper
|
||||
root="$(cd $BATS_TEST_DIRNAME/.. && pwd)"
|
||||
SHELL=/bin/bash run rbenv-init -
|
||||
assert_success
|
||||
assert_line ". '${root}/libexec/../completions/rbenv.bash'"
|
||||
assert_line "source '${root}/libexec/../completions/rbenv.bash'"
|
||||
}
|
||||
|
||||
@test "setup shell completions (fish)" {
|
||||
|
||||
Reference in New Issue
Block a user