Skip to content

Latest commit

 

History

History
103 lines (72 loc) · 2.65 KB

File metadata and controls

103 lines (72 loc) · 2.65 KB

dotfiles

My macOS dotfiles.

Structure

~/.dotfiles/
├── Brewfile                 # Homebrew packages
├── config/ghostty/config    # Ghostty terminal config
├── git/.gitconfig           # Git configuration
├── git/.gitignore_global    # Global gitignore
├── install.sh               # Installation script
└── zsh/
    ├── .zshrc               # Main zsh config
    ├── .p10k.zsh            # Powerlevel10k theme
    ├── aliases.zsh          # Aliases
    ├── completions.zsh      # Shell completions
    ├── exports.zsh          # Environment variables & PATH
    ├── keybindings.zsh      # macOS-style key bindings
    ├── plugins.zsh          # Oh-my-zsh plugins
    └── tools.zsh            # Tool initializations (nvm, rbenv, etc.)

Installation

1. Install Homebrew

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

After installation, run the command shown in the terminal to add Homebrew to your PATH.

2. Install Git (if not already installed)

brew install git

3. Clone this repository

git clone https://github.com/BRTZL/dotfiles.git ~/.dotfiles

4. Install Oh My Zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

5. Install Oh My Zsh plugins

# zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

# zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

6. Install Powerlevel10k theme

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

7. Run install script

~/.dotfiles/install.sh

This will:

  • Create symlinks for all config files
  • Optionally install Homebrew packages from Brewfile (including fonts)

8. Install fonts

The terminal uses Monaspace Krypton as the primary font and Symbols Nerd Font Mono for icons. Both are installed via the Brewfile, but you can also install them manually:

brew install --cask font-monaspace font-symbols-only-nerd-font

9. Restart your terminal

Open a new terminal window to apply all changes.

Manual Commands

Install only Homebrew packages

brew bundle --file=~/.dotfiles/Brewfile

Update Brewfile with currently installed packages

brew bundle dump --file=~/.dotfiles/Brewfile --force