From 7f675b2ab8ad42b1d5fe40e487e6fab460e7cb93 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 3 May 2019 10:03:14 +0200 Subject: [PATCH] Adds configure dotfiles --- tforgione.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tforgione.sh b/tforgione.sh index 6c015a1..4f012a3 100755 --- a/tforgione.sh +++ b/tforgione.sh @@ -154,6 +154,15 @@ clone_dotfiles() { fi } +configure_dotfiles() { + yes_no_ask "do you wish to configure the dotfiles ?" + if [ $? -eq 0 ]; then + return + fi + + clone_dotfiles +} + 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 ?" sudo_available=$? + configure_dotfiles configure_zsh configure_neovim }