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
# 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
#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
# clojure
brew cask install java
brew install clojure/tools/clojure
#brew install maven
# rvm
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable
# nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | zsh
# gvm
zsh < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
# setup vim
cd ~/.vim/bundle/YouCompleteMe
python3 install.py --ts-completer --rust-completer --java-completer --clangd-completer
# 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