소스 검색

Fix rehash

pull/3370/head
Ivan Pozdeev 7 달 전
부모
커밋
a6ea5b3179
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -1
      libexec/pyenv-sh-rehash
  2. +2
    -2
      test/rehash.bats

+ 1
- 1
libexec/pyenv-sh-rehash 파일 보기

@ -11,7 +11,7 @@ shell="$(basename "${PYENV_SHELL:-$SHELL}")"
# When pyenv shell integration is enabled, delegate to pyenv-rehash,
# then tell the shell to empty its command lookup cache.
echo "pyenv-rehash"
echo "command pyenv rehash"
case "$shell" in
fish )

+ 2
- 2
test/rehash.bats 파일 보기

@ -110,7 +110,7 @@ SH
@test "sh-rehash in bash" {
create_executable "3.4" "python"
PYENV_SHELL=bash run pyenv-sh-rehash
assert_success "pyenv-rehash
assert_success "command pyenv rehash
hash -r 2>/dev/null || true"
}
@ -124,7 +124,7 @@ hash -r 2>/dev/null || true"
@test "sh-rehash in fish" {
create_executable "3.4" "python"
PYENV_SHELL=fish run pyenv-sh-rehash
assert_success "pyenv-rehash"
assert_success "command pyenv rehash"
}
@test "sh-rehash in fish (integration)" {

불러오는 중...
취소
저장