Last active
July 11, 2022 02:44
-
-
Save kidpollo/f4b51d909fb5bfe3b998a137c80d2b60 to your computer and use it in GitHub Desktop.
osx bootstrap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install iterm 2 https://www.iterm2.com/ | |
| #install homebrew | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
| # editors | |
| brew cask install vimr | |
| brew tap d12frosted/emacs-plus | |
| brew install emacs-plus@28 --with-ctags --with-spacemacs-icon | |
| # packages | |
| brew install global git-crypt jenv gnupg cmake macvim python | |
| # spacemacs | |
| git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d | |
| # homeshick dotfiles | |
| git clone git://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 | |
| # 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 | |
| homeshick cd pdotfiles # do not symlink | |
| git-crypt unlock | |
| homeshick link pdotfiles | |
| #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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment