Adds configure dotfiles
This commit is contained in:
parent
c36b2f502a
commit
7f675b2ab8
10
tforgione.sh
10
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue