Change default shell
This commit is contained in:
parent
6528a89638
commit
974a0aa799
18
install.sh
18
install.sh
|
@ -163,7 +163,6 @@ installPackage() {
|
||||||
A)
|
A)
|
||||||
if [ $debugFlagToStdout = true ] || [ $debugFlag = true ]; then
|
if [ $debugFlagToStdout = true ] || [ $debugFlag = true ]; then
|
||||||
script -qec "pacstrap /mnt --needed ${1}" /dev/null 2>&1 | debug
|
script -qec "pacstrap /mnt --needed ${1}" /dev/null 2>&1 | debug
|
||||||
# ( unbuffer pacstrap /mnt --needed ${1} 2>&1 && cat) | debug
|
|
||||||
else
|
else
|
||||||
pacstrap /mnt --needed ${1} 2>&1 | debug
|
pacstrap /mnt --needed ${1} 2>&1 | debug
|
||||||
fi
|
fi
|
||||||
|
@ -207,13 +206,6 @@ checkForParu() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# checkForExpect() {
|
|
||||||
# commOutput=$(command -v paru > /dev/null 2>&1 || echo 1)
|
|
||||||
# if [ "$commOutput" = "1" ]; then
|
|
||||||
# pacman -S --needed --noconfirm expect
|
|
||||||
# fi
|
|
||||||
# }
|
|
||||||
|
|
||||||
getThePackages() {
|
getThePackages() {
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
if [ ! -f "packages.csv" ]; then
|
if [ ! -f "packages.csv" ]; then
|
||||||
|
@ -388,7 +380,6 @@ finishInstallation() {
|
||||||
|
|
||||||
zshConfig() {
|
zshConfig() {
|
||||||
# TODO: Choose between zsh-theme-powerlevel10k-git (AUR) and zsh-theme-powerlevel10k (community)
|
# 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
|
mkdir -p $HOME/.cache/zsh
|
||||||
touch $HOME/.cache/zsh/.histfile
|
touch $HOME/.cache/zsh/.histfile
|
||||||
}
|
}
|
||||||
|
@ -403,14 +394,7 @@ getDotfiles() {
|
||||||
cd $lastFolder
|
cd $lastFolder
|
||||||
|
|
||||||
sudo rm -f ~/.bashrc /usr/bin/CocoASAIS
|
sudo rm -f ~/.bashrc /usr/bin/CocoASAIS
|
||||||
# calcWidthAndRun "whiptail --infobox \"Installing 'zaread-git'.\" 7 WIDTH"
|
chsh -s $(which zsh)
|
||||||
# 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)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
steps=(
|
steps=(
|
||||||
|
|
Loading…
Reference in New Issue