Skip to content

Instantly share code, notes, and snippets.

View ZachAttackMLR's full-sized avatar
🎗️

Zach Gorman ZachAttackMLR

🎗️
View GitHub Profile
@ZachAttackMLR
ZachAttackMLR / fresh-mac-installs.sh
Last active March 31, 2022 15:43
Script to install tooling on a new Mac
#!/usr/bin/env zsh
# Install brew, zplug, vim-plug, tpm, and rustup (respectively)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
@ZachAttackMLR
ZachAttackMLR / pkgs.sh
Created May 17, 2020 22:34
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 ;
}