Skip to content

Instantly share code, notes, and snippets.

@ZachAttackMLR
Created May 17, 2020 22:34
Show Gist options
  • Save ZachAttackMLR/e36690af6dd6abc2ab0a369e9bce11c3 to your computer and use it in GitHub Desktop.
Save ZachAttackMLR/e36690af6dd6abc2ab0a369e9bce11c3 to your computer and use it in GitHub Desktop.
Post-Install Arch Script
#!/bin/sh
# Initial pacman install stuff {{{
# function that will be used to install each package, one at a time
# inspired by LukeSmithxyz/LARBS
function installpkg() {
mkdir -p ~/.cache/z-installer/
sudo pacman --noconfirm --needed -S "$1" >>~/.cache/z-installer/pkgs.txt 2>&1 ;
}
PKGLIST=(man-db man-pages neovim zsh tmux xorg-server xorg-xinit xwallpaper bspwm dmenu dunst libnotify sxhkd unclutter xsel bat fzf zsh-autosuggestions zsh-completions zsh-you-should-use python python-pip python-pynvim git go ruby rustup nodejs npm z jq neofetch thefuck sxiv newsboat python-pywal texlive-core youtube-dl pandoc signal-desktop zathura docker httpie)
for pkg in "${PKGLIST[@]}"; do installpkg "$pkg"; done
# END Initial pacman stuff }}}
# yay - TODO
#sudo git clone https://aur.archlinux.org/yay.git
#cd yay
#makepkg -si
# configuring and finishing up rustup installation
rustup install stable && rustup default stable
# install starship prompt (cuz it's dope)
cargo install starship
cargo install cargo-update
cargo install radix-calc
# npm packages
sudo npm i -g safe-rm
sudo npm i -g emoj
sudo npm i -g how-2
sudo npm i -g tldr
sudo npm i -g yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment