diff --git a/bootstrap.sh b/bootstrap.sh index 0e93f51..3b55d1d 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -3,12 +3,13 @@ # Ensuring steps are defined. . ./steps.sh -TOTAL_STEPS=5 +TOTAL_STEPS=6 # Refer to steps.sh for step definition. bootstrap() { ensure_apt_up_to_date ensure_apt_dependencies + ensure_omz ensure_nvm inject_shell_configuration inject_vim_configuration diff --git a/steps.sh b/steps.sh index d7c5fec..f0ae978 100644 --- a/steps.sh +++ b/steps.sh @@ -38,6 +38,11 @@ ensure_apt_dependencies() { fi } +ensure_omz() { + pre_step "Installs Oh My ZSH" + curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | bash +} + ensure_nvm() { pre_step "Installing nvm to manage node version" curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash