Adds configure dotfiles

This commit is contained in:
Thomas Forgione 2019-05-03 10:03:14 +02:00
parent c36b2f502a
commit 7f675b2ab8
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 10 additions and 0 deletions

View File

@ -154,6 +154,15 @@ clone_dotfiles() {
fi fi
} }
configure_dotfiles() {
yes_no_ask "do you wish to configure the dotfiles ?"
if [ $? -eq 0 ]; then
return
fi
clone_dotfiles
}
configure_zsh() { configure_zsh() {
yes_no_ask "do you wish to install and configure zsh ?" yes_no_ask "do you wish to install and configure zsh ?"
@ -276,6 +285,7 @@ main() {
yes_no_ask "can your user use sudo ?" yes_no_ask "can your user use sudo ?"
sudo_available=$? sudo_available=$?
configure_dotfiles
configure_zsh configure_zsh
configure_neovim configure_neovim
} }