Use --unattended in oh-my-zsh install

This commit is contained in:
Santiago Lo Coco 2021-12-31 14:57:08 -03:00
parent 5139589de9
commit a9faaa0f6d
1 changed files with 2 additions and 2 deletions

View File

@ -318,7 +318,7 @@ finishInstallation() {
}
getDotfiles() {
"$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 2>&1 | debug
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended 2>&1 | debug
git clone https://github.com/romkatv/powerlevel10k.git $HOME/.oh-my-zsh/custom/themes/powerlevel10k 2>&1 | debug
local lastFolder=$(pwd -P)
cd $HOME/Documents
@ -327,7 +327,7 @@ getDotfiles() {
sh scripts/bootstrap.sh -w
cd $lastFolder
rm ~/.bashrc /usr/bin/CocoASAIS
sudo pacman -Sy zaread-git
sudo paru -Sy zaread-git
}
steps=(