feat: add missing pyenv install
This commit is contained in:
parent
6d9ad6c09e
commit
7f27eecbf7
1 changed files with 14 additions and 1 deletions
15
bootstrap.sh
15
bootstrap.sh
|
@ -121,14 +121,23 @@ install_and_configure_starship() {
|
|||
|
||||
ensure_nvm() {
|
||||
pre_step "Installing nvm to manage node version"
|
||||
|
||||
pre_substep "Installing NVM from remote"
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
||||
|
||||
pre_substep "Ensuring that NVM can be run right away"
|
||||
# Ensuring that nvm is usable right away without restarting the shell
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||
}
|
||||
|
||||
install_pyenv() {
|
||||
pre_step "Install and configure pyenv"
|
||||
|
||||
curl https://pyenv.run | bash
|
||||
}
|
||||
|
||||
# Injects a managed block in the shell configuration.
|
||||
inject_shell_configuration() {
|
||||
pre_step "Injecting managed block in shell configuration"
|
||||
|
@ -182,13 +191,17 @@ inject_vim_configuration() {
|
|||
#
|
||||
###########################################################
|
||||
|
||||
TOTAL_STEPS=8
|
||||
TOTAL_STEPS=9
|
||||
|
||||
# Refer to steps.sh for step definition.
|
||||
bootstrap() {
|
||||
# System updates
|
||||
ensure_apt_up_to_date
|
||||
ensure_apt_dependencies
|
||||
|
||||
# Development tooling and SDKs
|
||||
install_rust
|
||||
install_pyenv
|
||||
ensure_nvm
|
||||
|
||||
# Shell & prompt setup
|
||||
|
|
Loading…
Reference in a new issue