mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-15 14:53:53 -05:00
Merge pull request #873 from dmerand/patch-1
Fish shell "." is deprecated in favor of "source"
This commit is contained in:
@@ -47,13 +47,13 @@ OUT
|
||||
root="$(cd $BATS_TEST_DIRNAME/.. && pwd)"
|
||||
run rbenv-init - fish
|
||||
assert_success
|
||||
assert_line ". '${root}/test/../libexec/../completions/rbenv.fish'"
|
||||
assert_line "source '${root}/test/../libexec/../completions/rbenv.fish'"
|
||||
}
|
||||
|
||||
@test "fish instructions" {
|
||||
run rbenv-init fish
|
||||
assert [ "$status" -eq 1 ]
|
||||
assert_line 'status --is-interactive; and . (rbenv init -|psub)'
|
||||
assert_line 'status --is-interactive; and source (rbenv init -|psub)'
|
||||
}
|
||||
|
||||
@test "option to skip rehash" {
|
||||
|
||||
Reference in New Issue
Block a user