Skip to content

Latest commit

 

History

History
120 lines (86 loc) · 3.39 KB

README.md

File metadata and controls

120 lines (86 loc) · 3.39 KB

Machine Provisioner

This is a set of bootstrapping scripts, configuration files, and other assets that bootstrap a new Macbook with all the Desktop applications, software packages, and other tools I use daily.

Installation and usage

For a first time installation

$ xcode-select --install
$ git clone https://github.com/codemang/Dotfiles.git
$ cd Dotfiles
$ rake setup

This requires your password at a few steps. Once this completes, you must...

  • Restart your computer for certain configurations to take effect.
  • Complete the manual steps.

Manual Steps

  1. Sign in to 1Password using the QR code from your phone

  2. Create new Github SSH keys and add it to your ssh config

  3. In order to push dotfiles in the future you need to switch the remote to the SSH version

    $ git remote set-url origin [email protected]:codemang/Dotfiles.git
    
  4. Remap caps lock to control

  5. Open spectacle manually and give it the permissions it needs.

  6. Go to System Preferences => Keyboard => Shortcuts => Spotlight, and disable hotkeys for spotlight

  7. Open alfred and change hotkey to cmd + space

  8. Configure Finder to include these favorites

    • Home Directory
    • Screenshots
    • Personal directory
  9. Set iterm to load its preferences from the Dotfiles repo

  10. Change the next/previous tab shortcut keys for chrome

  11. Signin to the Chrome browser so that extensions are synced

  12. Install token_manager

  13. Create github token to be used by the Copy Commit To PR script

  14. Run $ token_manager add github_copy_commit_to_pr [GITHUB TOKEN]

  15. Give iTerm access to send key strokes via an osascript for the color toggle script

  16. Install all dependencies for the coq_nvim plugin for nvim. Simply open up a vim buffer and run the command :COQdeps.

Updates

From then on any changes to the repo will be applied by pulling the latest version and running update.

$ git fetch; git reset --hard origin/master
$ rake setup

Overview

At a high level, this repo executes the following steps.

  • Install system wide packages via brew and brew cask
  • Installs a ruby version manager and the latest stable version of ruby
  • Installs language specific packages through RubyGems and NPM
  • Installs zsh packages that are not available via package managers
  • Symlinks all dotfiles to their correct location
  • Installs all vim plugins
  • Configures OSX specific settings, such as key repeat speed

In the end, I have a fully bootstrapped dev enviornment. Here are a few of the key tools that are bootstrapped.

Editing Tools

  • Iterm 2
  • Tmux
  • Zsh
  • Vim

Integrated add-ons/plugins

  • Fzf
  • Ag
  • Docker
  • Vagrant

Desktop Applications

  • 1Password
  • Google Chrome
  • Firefox
  • Slack
  • Alfred
  • Iterm 2
  • Authy

Symlinked Dotfiles

  • zshrc
  • vimrc
  • tmux.conf
  • gitconfig