pyenv: fix shell completions

Closes #35320.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Tsukasa OMOTO 2018-12-21 14:57:57 +09:00 committed by FX Coudert
parent e7d3879331
commit 95c502732d

View file

@ -30,9 +30,9 @@ class Pyenv < Formula
bin.install_symlink "#{prefix}/plugins/python-build/bin/#{cmd}" bin.install_symlink "#{prefix}/plugins/python-build/bin/#{cmd}"
end end
bash_completion.install "#{prefix}/completions/pyenv.bash" # Do not manually install shell completions. See:
zsh_completion.install "#{prefix}/completions/pyenv.zsh" # - https://github.com/pyenv/pyenv/issues/1056#issuecomment-356818337
fish_completion.install "#{prefix}/completions/pyenv.fish" # - https://github.com/Homebrew/homebrew-core/pull/22727
end end
test do test do