diff --git a/bin/setup b/bin/setup index 1010a1b..cdd333d 100755 --- a/bin/setup +++ b/bin/setup @@ -1,21 +1,21 @@ #!/bin/sh set -e -alias g=git l='ln -s' s=sudo t='s tee -a' w=wget +alias g=git l='ln -s' p='s pacman --noconfirm' s=sudo t='s tee -a' w=wget s pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com s pacman-key --lsign-key 3056513887B78AEB -s pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst' +p -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst' printf '[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist\n' | t /etc/pacman.conf s pacman-key --recv BC26F752D25B92CE272E0F44F7FD5492264BB9D0 --keyserver keyserver.ubuntu.com s pacman-key --lsign BC26F752D25B92CE272E0F44F7FD5492264BB9D0 -s pacman -U 'https://pkg.devkitpro.org/devkitpro-keyring.pkg.tar.xz' +p -U 'https://pkg.devkitpro.org/devkitpro-keyring.pkg.tar.xz' printf '[dkp-libs]\nServer = https://pkg.devkitpro.org/packages\n' | t /etc/pacman.conf printf "[dkp-linux]\nServer = https://pkg.devkitpro.org/packages/linux/\$arch/\n" | t /etc/pacman.conf echo permit :wheel | t /etc/doas.conf -s pacman -Syu -xargs -o sudo pacman -S --needed < ~/.dotfiles/archpkgs -yay -S pandoc-bin shellcheck-bin +p -Syu +xargs sudo pacman --noconfirm -S --needed < ~/.dotfiles/archpkgs +yay -S pandoc-bin shellcheck-bin --noconfirm chsh -s "$(grep -m1 bin/fish /etc/shells)" echo kernel.core_pattern=/dev/null | t /etc/sysctl.d/50-coredump.conf