mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-18 01:29:06 +00:00
fix: pyenv install
This commit is contained in:
@@ -160,7 +160,9 @@ if [[ ! -f $(which fnm) ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ! -f "$(which pyenv)" ]]; then
|
||||
which pyenv >/dev/null
|
||||
pyenv_inst=$([[ $(echo $?) == "0" ]] && echo 1 || echo 0)
|
||||
if [[ -d "$HOME/.pyenv" && $pyenv_inst == 0 ]]; then
|
||||
if ask "Install pyenv?"; then
|
||||
echo_yellow "Installing pyenv..."
|
||||
platform_install -b pyenv \
|
||||
|
||||
Reference in New Issue
Block a user