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.
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.
-
Sign in to 1Password using the QR code from your phone
-
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
-
Open spectacle manually and give it the permissions it needs.
-
Go to System Preferences => Keyboard => Shortcuts => Spotlight, and disable hotkeys for spotlight
-
Open alfred and change hotkey to
cmd + space
-
Configure Finder to include these favorites
- Home Directory
- Screenshots
- Personal directory
-
Set iterm to load its preferences from the Dotfiles repo
-
Change the next/previous tab shortcut keys for chrome
-
Signin to the Chrome browser so that extensions are synced
-
Install token_manager
-
Create github token to be used by the Copy Commit To PR script
-
Run
$ token_manager add github_copy_commit_to_pr [GITHUB TOKEN]
-
Give iTerm access to send key strokes via an osascript for the color toggle script
-
Install all dependencies for the
coq_nvim
plugin fornvim
. Simply open up a vim buffer and run the command:COQdeps
.
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
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.
- Iterm 2
- Tmux
- Zsh
- Vim
- Fzf
- Ag
- Docker
- Vagrant
- 1Password
- Google Chrome
- Firefox
- Slack
- Alfred
- Iterm 2
- Authy
- zshrc
- vimrc
- tmux.conf
- gitconfig