Managed using GNU Stow with a setup similar to the one presented in Managing your dotfiles with GNU Stow.
Files are managed using stow. Install stow using Homebrew.
brew install stow
Dotfiles are stored relative to the home directory, ~
. Each directory in the root of the repository "simulates" the home directory.
To stow a directory, run stow
followed by the directory name, e.g. stow git
. This will put the dotfiles in the previous directory (cd ..
). To specify a target directory, use stow -t ~/ git
.
This secton contains notes on setting up specfic tools.
Used for signing git commits. gnupg and pinentry-mac must be installed with Homebrew.
brew install gnupg pinentry-mac
Make sure to stow both the git and gnupg folders so all the settings are in place. Then import the GPG private key.
gpg --import gnupg-private-key.asc
Verify that it's imported by running the following command.
gpg --list-keys
Make sure to install the recommended MesloLGS fonts for icons to show up properly. Instructions on installing the fonts can be found here.
iTerm2 can be downloaded here. Follow the steps below to use the settings stored in this repository with iTerm2.
- Open Preferences (CMD + ,)
- Select General.
- Select Preferences.
- Check "Load preferences from a custom folder or URL" and select the dotfiles folder as shown in the screenshot below.
- iTerm2 may have saved the local settings in the plist file. Quit iTerm2, revert the changes in the dotfiles repository and open iTerm2 again.
Ghostty can be downloaded here. The preferences are stored in ~/Library/Application Support/com.mitchellh.ghostty
, so they should be stowewd like this:
stow -t /Users/simonbs/Library/Application\ Support/com.mitchellh.ghostty ghostty