"." has been deprecated in the fish shell in favor of explicit "source"
This commit is contained in:
parent
75fd97803d
commit
5f20bc258f
@ -70,7 +70,7 @@ if [ -z "$print" ]; then
|
||||
echo
|
||||
case "$shell" in
|
||||
fish )
|
||||
echo 'status --is-interactive; and . (pyenv init -|psub)'
|
||||
echo 'status --is-interactive; and source (pyenv init -|psub)'
|
||||
;;
|
||||
* )
|
||||
echo 'eval "$(pyenv init -)"'
|
||||
|
@ -53,7 +53,7 @@ OUT
|
||||
@test "fish instructions" {
|
||||
run pyenv-init fish
|
||||
assert [ "$status" -eq 1 ]
|
||||
assert_line 'status --is-interactive; and . (pyenv init -|psub)'
|
||||
assert_line 'status --is-interactive; and source (pyenv init -|psub)'
|
||||
}
|
||||
|
||||
@test "option to skip rehash" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user