dotfiles

Created: 2014-05-19 14:09
Updated: 2018-12-24 18:25

README.md

dotfiles

the stuff with dots

Last Updated: 2018-03-21 16:54 @matthew-cox

Table of Contents

Xcode CLI Tools

A pre-req for most of this is the Xcode tools. One should be able to install them:

$ xcode-select --install

Brew some 🍻

Install Homebrew:

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Disable analytics

$ brew analytics off

Install 1password

$ brew tap caskroom/cask
$ brew cask install 1password

Install MAS

$ brew install mas
# Sign in with your Apple ID
$ mas signin your-email@apple.id.com

Basic github configure

Find GitHub_rsa.priv in 1password and install at ~/.ssh/GitHub_rsa.priv; then:

$ chmod 400 ~/.ssh/GitHub_rsa.priv

Configure a very basic ~/.ssh/config:

$ echo -e "Host *github.com\n    IdentityFile ~/.ssh/GitHub_rsa.priv\n" > ~/.ssh/config

Get the dots

$ git clone https://github.com/matthew-cox/dotfiles.git .dotfiles
$ cd .dotfiles/
$ git submodule init
$ git submodule update

Powerline compatibility

$ cd powerline
$ git checkout tags/2.1

Python

Prefer pyenv and pyenv-virtualenv over the global version:

$ ./scripts/python_init.sh

Bootstrap

Bootstrap many things with Cider:

$ ln -s ~/".dotfiles/cider/${USER}" ~/.cider
$ pip install -U cider
$ yes | cider restore
$ cider apply-defaults
$ cider relink

Mac AppStore Apps

Install the apps from the AppStore:

# ./scripts/mas_install.sh

Perl

Prefer perlbrew over the global version:

$ ./scripts/perl_init.sh

Start a new terminal, then:

$ perlbrew install --skip-existing perl-5.27.2
$ perlbrew switch perl-5.27.2

Ruby

Prefer rbenv over the global version:

$ ./scripts/ruby_init.sh

SSH

config.d

Needs poet:

$ gem install poet
$ rm -f ~/.ssh/config
$ poet

Key Symlinks

$ ln -s ~/.ssh/simplisafe/PrdCommon.pem ~/.ssh/

TextMate

Install TextMate bundle manager and bundles:

$ ./scripts/textmate_init.sh

Zsh

Change the user shell:

$ chsh -s /bin/zsh

Revel in your configured environment

Open a new terminal:

$ open /Applications/iTerm2.app
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more