Adds rust installer
This commit is contained in:
parent
41c65b48b5
commit
a218f16c70
10
tforgione.sh
10
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
|
||||
|
|
Loading…
Reference in New Issue