pyenv: remove non-Homebrew-specific caveats.

master
Mike McQuaid 2017-02-05 12:40:55 +01:00 committed by Tomasz Pajor
parent 3628e2df65
commit d82ef4e9a5
1 changed files with 0 additions and 9 deletions

View File

@ -21,15 +21,6 @@ class Pyenv < Formula
end
end
def caveats; <<-EOS.undent
To use Homebrew's directories rather than ~/.pyenv add to your profile:
export PYENV_ROOT=#{var}/pyenv
To enable shims and autocompletion add to your profile:
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
EOS
end
test do
shell_output("eval \"$(#{bin}/pyenv init -)\" && pyenv versions")
end