Skip to content

Instantly share code, notes, and snippets.

@kidpollo
Last active July 11, 2022 02:44
Show Gist options
  • Save kidpollo/f4b51d909fb5bfe3b998a137c80d2b60 to your computer and use it in GitHub Desktop.
Save kidpollo/f4b51d909fb5bfe3b998a137c80d2b60 to your computer and use it in GitHub Desktop.
osx bootstrap
# Install iterm 2 https://www.iterm2.com/
# Install 1password
#install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/paks/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
# packages
brew install git git-crypt gpg autojump kube-ps1 stern asdf rlwrap rg
# homeshick dotfiles
git clone https://github.com/andsens/homeshick.git $HOME/.homesick/repos/homeshick
source "$HOME/.homesick/repos/homeshick/homeshick.sh"
homeshick clone robbyrussell/oh-my-zsh
cd; ln -s .homesick/repos/oh-my-zsh .oh-my-zsh
touch .profile #in case it does not exist
# get keys from 1Password
cd
gpg --import Downloads/kidpollo-public-gpg.key
gpg --import Downloads/kidpollo-secret-gpg.key
homeshick clone https://github.com/kidpollo/pdotfiles #with token from 1password # do not symlink
homeshick cd pdotfiles
git-crypt unlock
homeshick link pdotfiles
#emacs
brew install languagetool
brew install --build-from-source emacs-plus@29 --with-native-comp --with-no-frame-refocus --with-imagemagick
# spacemacs
git clone --branch develop https://github.com/syl20bnr/spacemacs ~/.emacs.d
# setup vim
cd ~/.vim/bundle/YouCompleteMe
python3 install.py --ts-completer --rust-completer --java-completer --clangd-completer
#fix permissions
cd
chmod 700 .ssh
chmod 600 .ssh/*
chmod 600 ~/.ssh/config
homeshick clone [email protected]:kidpollo/VimEnv.git
homeshick clone [email protected]:kidpollo/dotties.git
# set default zsh
chsh -s $(which zsh)
# tell iTerm that its settings are in ~/.homesick/repos/dotfiles/home
# languages
asdf plugin-add java https://github.com/halcyon/asdf-java.git
asdf intall java adoptopenjdk-17.0.0+35
asdf global java adoptopenjdk-17.0.0+35
asdf plugin add clojure https://github.com/asdf-community/asdf-clojure.git
asdf install clojure latest
asdf global clojure 1.11.1.1107
# nerdfonts
cd; cd code
git clone --depth 1 [email protected]:ryanoasis/nerd-fonts.git
cd nerd-fonts
./install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment