Adds rust installer

This commit is contained in:
Thomas Forgione 2020-01-31 14:35:07 +01:00
parent 41c65b48b5
commit a218f16c70
1 changed files with 10 additions and 0 deletions

View File

@ -307,6 +307,15 @@ configure_neovim() {
nvim +PlugInstall +qa 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() { main() {
echo_green "=== WELCOME TO TFORGIONE'S CONFIG INSTALLER ===" echo_green "=== WELCOME TO TFORGIONE'S CONFIG INSTALLER ==="
@ -317,6 +326,7 @@ main() {
configure_dotfiles configure_dotfiles
configure_shell configure_shell
configure_neovim configure_neovim
configure_rust
} }
main < /dev/tty main < /dev/tty