1
0
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:
Mislav Marohnić
2013-10-03 16:12:24 +02:00
parent 71a6d791c2
commit e97326845c
2 changed files with 7 additions and 2 deletions

View File

@@ -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)" {