Skip to content

hidari/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

This is my own dotfiles repository.

Quick Start

cd ~/dotfiles
./bootstrap.sh

Usage

# Interactive mode (recommended for first setup)
./bootstrap.sh

# Non-interactive mode (for CI/automation)
./bootstrap.sh -y

# Dotfiles only (skip tool installation)
./bootstrap.sh --dotfiles-only

# Dry-run mode (preview changes without executing)
./bootstrap.sh -n

# Force mode (backup and overwrite existing files)
./bootstrap.sh -f

Options

Option Description
-y, --yes Skip confirmation prompts
-f, --force Force overwrite existing files (with backup)
-n, --dry-run Show what would be done without making changes
--dotfiles-only Skip tool installation, only setup dotfiles
-h, --help Show help message

What Gets Installed

Tools

Dotfiles

The following symlinks are created in your home directory:

Source Target
home/.Brewfile ~/.Brewfile
home/.zshrc ~/.zshrc
home/.gitconfig ~/.gitconfig
home/.config/git/.gitignore_global ~/.config/git/.gitignore_global
home/.claude/settings.json ~/.claude/settings.json
home/.claude/CLAUDE.md ~/.claude/CLAUDE.md
home/.claude/.mcp.json ~/.claude/.mcp.json
home/.claude/skills/* ~/.claude/skills/*
scripts/backup.sh ~/.local/bin/backup.sh

Additionally, home/.gitconfig.private.example is copied to ~/.gitconfig.private (if it doesn't exist).

Testing

# Run all tests
bats scripts/tests/

# Run specific test file
bats scripts/tests/bootstrap.bats
bats scripts/tests/backup.bats

About

dotfiles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages