From 974a0aa799bf9c4b69bde5b66981e22efb66f56e Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Mon, 3 Jan 2022 14:05:20 -0300 Subject: [PATCH] Change default shell --- install.sh | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/install.sh b/install.sh index abb6091..c491a19 100755 --- a/install.sh +++ b/install.sh @@ -163,7 +163,6 @@ installPackage() { A) if [ $debugFlagToStdout = true ] || [ $debugFlag = true ]; then script -qec "pacstrap /mnt --needed ${1}" /dev/null 2>&1 | debug - # ( unbuffer pacstrap /mnt --needed ${1} 2>&1 && cat) | debug else pacstrap /mnt --needed ${1} 2>&1 | debug fi @@ -207,13 +206,6 @@ checkForParu() { fi } -# checkForExpect() { -# commOutput=$(command -v paru > /dev/null 2>&1 || echo 1) -# if [ "$commOutput" = "1" ]; then -# pacman -S --needed --noconfirm expect -# fi -# } - getThePackages() { set -o pipefail if [ ! -f "packages.csv" ]; then @@ -388,7 +380,6 @@ finishInstallation() { zshConfig() { # TODO: Choose between zsh-theme-powerlevel10k-git (AUR) and zsh-theme-powerlevel10k (community) - # sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended 2>&1 | debug mkdir -p $HOME/.cache/zsh touch $HOME/.cache/zsh/.histfile } @@ -403,14 +394,7 @@ getDotfiles() { cd $lastFolder sudo rm -f ~/.bashrc /usr/bin/CocoASAIS - # calcWidthAndRun "whiptail --infobox \"Installing 'zaread-git'.\" 7 WIDTH" - # set -o pipefail - # paru -Q zaread-git 2>&1 | debug - # if [ $? -eq 1 ]; then - # paru -S --needed --noconfirm --skipreview zaread-git 2>&1 | debug - # fi - # set +o pipefail - # chsh -s $(which zsh) + chsh -s $(which zsh) } steps=(