Skip to content

bezhermoso/dotfiles

Repository files navigation

my dotfiles


Step 1: Clone

Perform a recursive clone, including all the submodules:

git clone --recursive --recurse-submodules git@github.com:bezhermoso/dotfiles.git ~/.dotfiles

Note

If it was cloned bare, run this afterwards: git submodule update --init --recursive

Step 2: Install Homebrew dependencies

Install Homebrew

Go to https://brew.sh and follow the installation instructions.

As of 2024-02-17, this is how:

# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install dependencies

Dependencies installable via Homebrew are captured in ./homebrew/Brewfile:

cd ~/.dotfiles/homebrew
brew bundle install

Step 3: Configure tools

I use Stow to put configuration directories/files where they need to be for tools to work:

cd ~/.dotfiles
stow .

It is recommended to close & re-open your terminal to pick up the just-installed Zsh configurations.

Install tmux plugins

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Start a new tmux session and invoke C-s I to install the plugins.

Setup Neovim

Start Neovim. It should auto-install lazy.nvim and all the plugins

Setup atuin

Important

Do not do this on your work machine! Only do this on computers whose command-line history you want synced.

atuin login

Configure git

Create a ~/.gitconfig file & include relevant files from ~/.dotfiles/git e.g.

[include]
    path = ~/.dotfiles/git/base.gitconfig
    path = ~/.dotfiles/git/1password.gitconfig

# REQUIRED. None of the config files in dotfiles contain author information. Configure this on a per-machine basis.
[user]
	name = Bez Hermoso
	email = ...