My dotfiles. This setup was inspired by The best way to store your dotfiles: A bare Git repository. The setup makes use of Homebrew to manage packages, and NVM to manage Node versions.
Install by running:
sudo curl -Lks https://raw.githubusercontent.com/Tolomeo/.cfg/macOS/.bin/cfg-install.sh | /bin/bash
The script will clone this repository as bare, placing it in ~/.cfg
.
It will then install homebrew and Homebrew formulae.
It will be possible to interact with the cfg repo by using the cfg
command from anywhere in the filesystem, passing arguments like you would do with any git repository.
The working directory will be set to your home directory and it will track only its relevant files.
In order to track new files, your will need to explicitly add them with cfg add ~/path/to/file
.
After installing cfg:
nvm install --lts
- Git
- Curl
- Homebrew installation requirements
- A terminal supporting true colors (see Terminal Colors for details) to properly display theme colors.
- The chosen terminal has to be configured so that
- it uses the patched font found in
Library/Fonts
for UI icons - it makes the option/alt key act like Meta, for keybindings to work
- it uses the patched font found in
Pre-populated iTerm2 profile configurations are found in ~/.config/iterm2_profile
.
To use them, activate Load preferences from a custom folder or URL
via iterm2 > preferences > General > preferences
and select the directory as source.