Skip to content

Sbastien/dotfiles

Repository files navigation

📁 Dotfiles Setup Guide

This repository contains my personal dotfiles to quickly set up a development environment on macOS. It uses Chezmoi for efficient dotfiles management and customization.


⚙️ Prerequisites

Before proceeding, make sure your machine is set up with the macos-dev-setup repository.
This will install Homebrew, Chezmoi, and other essential tools.


🛠 Step 1: Create your Local Git Configuration

Before initializing your dotfiles, set up your local Git configuration to ensure your commits use the correct name and email.

Run the following command to create a ~/.gitconfig.local file:

cat <<EOF > ~/.gitconfig.local
[user]
    name = John Doe
    email = [email protected]
EOF

🍺 Step 2: Initialize Homebrew

Ensure Homebrew is properly initialized by running:

eval "$(/opt/homebrew/bin/brew shellenv)"

🚀 Step 3: Apply the Dotfiles with Chezmoi

To set up your dotfiles, use the following Chezmoi command:

chezmoi init --apply Sbastien

🎉 Step 4: Restart your terminal

Happy coding! 🖥️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages