This repository contains various configuration files I care about.
$ git clone https://github.com/willdurand/dotfiles.git --recursive
$ cd dotfiles
$ bin/install
You can tweak MacOS by running the following script:
$ bin/setup_osx
The git configuration supports a ~/.gitlocal file that should contain
machine-specific configuration. The default file I use on almost all my machines
is git/gitlocal.default but it's not installed by default.
-
Create a new SSH key and upload it on GitHub
-
Create a personal access token for hub and store it in
~/.config/hub(see template file in themisc/folder) -
Install iTerm2
-
Configure iTerm2:
- go to "Preferences > General > Selection" and check "Applications in terminal may access clipboard"
- go to "Preferences > Advanced" and set "Scroll wheel sends arrow keys when in alternate screen mode" to "Yes"
-
Install Homebrew
-
Install these essential packages with
brew:brew install vim hub jq git fzf ripgrep gpg magic-wormhole tmux -
Install Amethyst (tiling window manager), then change the Floating settings to "automatically float all applications except those listed". The list should contain main apps like Firefox and iTerm2.
brew install --cask amethyst -
Install KeepingYouAwake:
brew install --cask keepingyouawake -
Import the GPG private keys from the old machine by following these instructions or create new subkeys. Then, tell
gitabout signing by creating a~/.gitlocalfile:[commit] gpgsign = 1 -
Install the FiraCode font: https://github.com/tonsky/FiraCode/wiki/Installing
brew install --cask font-fira-code -
Manually import the profiles using the file in the
misc/folder