diff --git a/tforgione.sh b/tforgione.sh index b39e721..74b5e2c 100755 --- a/tforgione.sh +++ b/tforgione.sh @@ -307,6 +307,15 @@ configure_neovim() { nvim +PlugInstall +qa } +configure_rust() { + yes_no_ask "do you wish to install and configure rust ?" + if [ $? -ne 0 ]; then + return + fi + + curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path -y +} + main() { echo_green "=== WELCOME TO TFORGIONE'S CONFIG INSTALLER ===" @@ -317,6 +326,7 @@ main() { configure_dotfiles configure_shell configure_neovim + configure_rust } main < /dev/tty