Adjust package manager commands

This commit is contained in:
1ndev 2024-12-14 17:29:00 -08:00
parent 0691b3a326
commit 0ff2ed6d4f

View File

@ -6,19 +6,23 @@ read inputrw
if [[ $inputrw =~ ^[Yy]$ ]]; then
sudo steamos-readonly disable
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --populate holo
sudo pacman -Syu
sudo pacman -Sy archlinux-keyring
sudo pacman -S holo-keyring archlinux-keyring
fi
echo ''
echo "Install yay ? [y/n]"
read inputyay
if [[ $inputjre =~ ^[Yy]$ ]]; then
# sudo pacman -S fakeroot pkgconfig cmake bash-completion gettext glibc gpgme libarchive openssl libseccomp curl pkgconf linux-headers linux-api-headers base-devel
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
git checkout 96f90180a3cf72673b1769c23e2c74edb0293a9f
makepkg -si
# yay
fi
echo ''
@ -91,6 +95,7 @@ EOF
} > /etc/systemd/system/ensure-symlinked-units-resolve.service
sudo systemctl daemon-reload
sudo systemctl enable --now ensure-symlinked-units-resolve.service
sh <(curl -L https://nixos.org/nix/install) --daemon
sudo echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
fi
@ -182,7 +187,7 @@ echo ''
echo "Install Oh My Zsh shell ? [y/n]"
read inputohmyzsh
if [[ $inputohmyzsh =~ ^[Yy]$ ]]; then
sudo pacman -S zsh lsd git wget
sudo pacman -S zsh lsd git wget nerd-fonts awesome-terminal-fonts
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
sed -i 's/^ZSH_THEME=.*$/ZSH_THEME="powerlevel10k\/powerlevel10k"/' ~/.zshrc